blob: 0de82187baa4e9ce013193a16ddcd657b9baeafa [file] [log] [blame]
{
"version": "version1",
"topologyName": "testTopology",
"boltId": "alertPublishBolt",
"publishments": [
{
"type": "org.apache.eagle.alert.engine.publisher.impl.AlertEmailPublisher",
"name": "email-testAlertStream",
"policyIds": [
"policy1"
],
"dedupIntervalMin": "PT2M",
"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"
// }
// }
]
}