blob: fd255cd6553bd5fb5c8f89a033ffe57875db2e49 [file] [log] [blame]
{
"version": "version1",
"topologyName": "testTopology",
"boltPoliciesMap": {
"alertBolt0": [
{
"name": "policy1",
"description": null,
"inputStreams": [
"testTopic3Stream"
],
"outputStreams": [
"testAlertStream"
],
"definition": {
"type": "siddhi",
"value": "from testTopic3Stream[value=='xyz'] select value insert into testAlertStream;"
},
"partitionSpec": [
{
"streamId": "testTopic3Stream",
"type": "GROUPBY",
"columns": [
"value"
],
"sortSpec": {
"windowPeriod": "PT10S",
"windowMargin": 1000
}
}
],
"parallelismHint": 0
},
{
"name": "policy2",
"description": null,
"inputStreams": [
"testTopic4Stream"
],
"outputStreams": [
"testAlertStream"
],
"definition": {
"type": "siddhi",
"value": "from testTopic4Stream[value=='xyz'] select value insert into testAlertStream;"
},
"partitionSpec": [
{
"streamId": "testTopic4Stream",
"type": "GROUPBY",
"columns": [
"value"
],
"sortSpec": {
"windowPeriod": "PT10S",
"windowMargin": 1000
}
}
],
"parallelismHint": 0
},
{
"name": "policy3",
"description": null,
"inputStreams": [
"testTopic5Stream"
],
"outputStreams": [
"testAlertStream"
],
"definition": {
"type": "siddhi",
"value": "from testTopic5Stream[value=='xyz'] select value insert into testAlertStream;"
},
"partitionSpec": [
{
"streamId": "testTopic5Stream",
"type": "GROUPBY",
"columns": [
"value"
],
"sortSpec": {
"windowPeriod": "PT10S",
"windowMargin": 1000
}
}
],
"parallelismHint": 0
}
]
}
}