blob: a8f4105cb40ddefe4355f652b48c248ea2cbc761 [file] [log] [blame]
{
"version": "version1",
"topologyName": "testTopology",
"boltId": "alertPublishBolt",
"publishments": [
{
"type": "org.apache.eagle.alert.engine.publisher.impl.AlertEmailPublisher",
"name": "email-testAlertStream",
"policyIds": [
"policy1",
"policy2",
"policy3"
],
"streamIds": [
"stream1"
],
"dedupIntervalMin": "PT1M",
"properties": {
"subject": "Test Alert",
"template": "",
"sender": "sender@corp.com",
"recipients": "receiver@corp.com",
"mail.smtp.host": "smtp.mailhost.com",
"mail.smtp.auth": "true",
"mail.username": "username",
"mail.password": "password",
"mail.debug": "false",
"mail.connection": "tls",
"mail.smtp.port": "587"
},
"serializer": "org.apache.eagle.alert.engine.publisher.impl.JsonEventSerializer"
}
/* {
"type": "org.apache.eagle.alert.engine.publisher.impl.AlertKafkaPublisher",
"name":"kafka-testAlertStream",
"policyIds": ["testPolicy"],
"dedupIntervalMin": "PT1M",
"properties":{
"kafka_broker":"sandbox.hortonworks.com:6667",
"topic":"test_kafka"
}
}*/
]
}