| { |
| "rootGroup": { |
| "name": "MiNiFi Flow", |
| "processors": [ |
| { |
| "name": "Consume Kafka messages from ConsumeKafkaTest topic", |
| "identifier": "37d6e8e5-6284-423e-8620-c5168a71add7", |
| "type": "org.apache.nifi.processors.standard.ConsumeKafka", |
| "schedulingStrategy": "TIMER_DRIVEN", |
| "schedulingPeriod": "1 sec", |
| "properties": { |
| "Group ID": "test_group", |
| "Honor Transactions": "true", |
| "Kafka Brokers": "kafka-broker:9092", |
| "Key Attribute Encoding": "UTF-8", |
| "Max Poll Time": "4 sec", |
| "Message Header Encoding": "UTF-8", |
| "Offset Reset": "earliest", |
| "Session Timeout": "60 sec", |
| "Topic Name Format": "Names", |
| "Topic Names": "ConsumeKafkaTest" |
| }, |
| "autoTerminatedRelationships": [ |
| "failure" |
| ] |
| }, |
| { |
| "name": "Put files to /tmp/output", |
| "identifier": "7f9c6f0b-e936-499e-b659-acfaf6872772", |
| "type": "org.apache.nifi.processors.standard.PutFile", |
| "schedulingStrategy": "EVENT_DRIVEN", |
| "properties": { |
| "Directory": "/tmp/output" |
| }, |
| "autoTerminatedRelationships": [ |
| "success", |
| "failure" |
| ] |
| } |
| ], |
| "connections": [ |
| { |
| "name": "ConsumeKafka/success/PutFile", |
| "identifier": "c9ac662f-015a-4b09-9c05-14599e30f196", |
| "source": { |
| "id": "37d6e8e5-6284-423e-8620-c5168a71add7" |
| }, |
| "destination": { |
| "id": "7f9c6f0b-e936-499e-b659-acfaf6872772" |
| }, |
| "selectedRelationships": [ |
| "success" |
| ] |
| } |
| ], |
| "remoteProcessGroups": [], |
| "controllerServices": [] |
| } |
| } |