Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "topologyName":"Reader",
- "components":[
- {
- "name":"readerSpout",
- "componentType":"SPOUT",
- "componentClass":"com.exp.components.spout.KafkaSpout",
- "parallelismHint":1,
- "configuration":{
- "@type":"AnnotationFieldConfiguration",
- "properties":{
- "brokers":{
- "value":[
- "10.17.9.42:9092"
- ],
- "required":true
- },
- "topics":{
- "value":[
- "test-topic"
- ],
- "required":true
- },
- "groupId":{
- "value":"test-consumer-group",
- "required":true
- },
- "defaultBroker":{
- "value":"10.17.9.42:9092",
- "required":true
- },
- "retries":{
- "value":3,
- "required":true
- }
- }
- }
- },
- {
- "name":"failBolt",
- "componentType":"BOLT",
- "componentClass":"com.exp.components.bolt.RandomFailBolt",
- "parallelismHint":1
- }
- ],
- "connections":[
- {
- "src":"readerSpout",
- "dest":"failBolt"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement