Hello all, Actually I was working with Azure Event Hub as Source and using Kafka-Connect and putting the data in to a topic which is working fine. Now my requirement is to use SMT and dump to data to kafka topic with transformations such as chained transformation of ValueKey and ExtractField. I tried a lot but it is not working so need urgent help
Actually on applying transformations I am not getting any error though but no data is coming to the topic when I see in lenses in that topic
[2022-01-18 18:06:23,868] INFO WorkerSourceTask{id=kafka-eventhub-source-connector-0} Source task finished initialization and start (org.apache.kafka.connect.runtime.WorkerSourceTask:209)
[2022-01-18 18:07:14,015] INFO WorkerSourceTask{id=kafka-eventhub-source-connector-0} Committing offsets (org.apache.kafka.connect.runtime.WorkerSourceTask:416)
[2022-01-18 18:07:14,016] INFO WorkerSourceTask{id=kafka-eventhub-source-connector-0} flushing 0 outstanding messages for offset commit (org.apache.kafka.connect.runtime.WorkerSourceTask:433)
[2022-01-18 18:08:13,951] INFO WorkerSourceTask{id=kafka-eventhub-source-connector-0} Committing offsets (org.apache.kafka.connect.runtime.WorkerSourceTask:416)
[2022-01-18 18:08:13,952] INFO WorkerSourceTask{id=kafka-eventhub-source-connector-0} flushing 0 outstanding messages for offset commit (org.apache.kafka.connect.runtime.WorkerSourceTask:433)
![Screenshot 2022-01-18 at 11.56.16 PM|690x258]
This is data without applying transformation …from Azure eventhub via kafka connect to topic
(upload://6gGXDgGqHoV7joQROwlF3LeMXxx.png)
[{"value":{"sensorDetails":{"sensorStatus":{"reading":"Not Active","mappedReading":null,"units":"NA","unResolvedReading":""},"uniqueId":"US|2482|E|1|EM|-1079246548|15|INPUT|DIGITAL|1642410686361","cc":"US","storeNo":2482,"vendorType":"E","rackIndex":1,"rackLabel":"01-HVAC","rackStatus":"ACTIVE","isRackInactive":null,"networkType":"EM","isHvac":"TRUE","modStatus":"ACTIVE","modIndex":-1079246548,"modType":"Sensor DV","modTypeID":96,"modLabel":"DIM 1 UNPLUGGD","resTS":"2022-01-17T09:11:26","reqTS":"2022-01-17T09:11:26","sensorIndex":15,"sensorLabel":"LOGIC IN3","sensorReadingType":"DIGITAL","sensorIOType":"INPUT"},"normalizationDetails":{"category":"none","isNormalized":true},"msgSchema":{"msgVersion":"1.0"},"id":"US|2482|E|1|EM|-1079246548|15|INPUT|DIGITAL|1642410686361","partitionKey":"US|2482|E|1|EM|-1079246548|15|INPUT|DIGITAL","PartitionId":15},"metadata":{"offset":43382,"partition":0,"timestamp":1642410695232,"__keysize":0,"__valsize":15205},"rownum":0,"headers":{"x-opt-partition-key":"","x-opt-enqueued-time":"2022-01-17T09:11:35.232Z","x-opt-sequence-number":"523654654","x-opt-offset":"116200367535648","properties":"{}","azure.eventhubs.namespace":"we-sb-dev-event-hub","system.properties":"{}","azure.eventhubs.hub.name":"sensoreventhub","azure.eventhubs.partition.id":"15"},"id":0},{"key":"VVN8NDY1fE58Mg==","value":{"normalizationDetails":{"rackTemp":"low temp","rackName":"LTA","rackSatTemp":"-12","reversed":false,"assetType":"rack","rackCallLetter":"A","serviceChannelId":1964301,"category":"rack","sensorDescription":"rack phase loss alarm","isNormalized":true},"sensorDetails":{"rackLabel":"RACK LTA (-12)","modTypeID":0,"rackStatus":"ACTIVE","modLabel":"","modType":"","modVersion":"0.0","modStatus":"ACTIVE","sensorLabel":"RACK PHASE LOSS","sensorStatus":{"reading":"OK","mappedReading":"0","units":null},"isHvac":"FALSE","uniqueId":"US|465|N|2|EP2|9999|9999|OUTPUT|DIGITAL|1642412977310","cc":"US","storeNo":465,"reqTS":"2022-01-17T09:49:37","resTS":"2022-01-17T09:49:37","rackIndex":2,"modIndex":9999,"sensorIndex":9999,"sensorReadingType":"DIGITAL","sensorIOType":"OUTPUT","networkType":"EP2","vendorType":"N"},"msgSchema":{"msgVersion":"1"},"partitionKey":"US|465|N|2|EP2|9999|9999|OUTPUT|DIGITAL","id":"US|465|N|2|EP2|9999|9999|OUTPUT|DIGITAL|1642412977310"},"metadata":{"offset":43383,"partition":0,"timestamp":1642412977459,"__keysize":10,"__valsize":955},"rownum":1,"headers":{"x-opt-partition-key":"US|465|N|2","x-opt-enqueued-time":"2022-01-17T09:49:37.459Z","x-opt-sequence-number":"306720240","x-opt-offset":"61602736348392","properties":"{}","azure.eventhubs.namespace":"we-sb-dev-event-hub","system.properties":"{}","azure.eventhubs.hub.name":"sensoreventhub","azure.eventhubs.partition.id":"2"},"id":1}]