Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8.0, 0.70
-
None
Description
I am having problems ingesting data from Modbus using kafka. Following the official documentation, to read a register from Modbus:
holding-register:12289[10]
But when I tried to implement this in the job of kafka-connector properties I can't ingest any data into the kafka-topic. This is the configuration:
jobs.modbus-heartbeat.fields=Analog jobs.modbus-heartbeat.fields.Analog=holding-register:12289:REAL[8]
It works configuring separately, following the next code:
jobs.modbus-heartbeat.fields=Analog0,Analog1,Analog2,Analog3,Analog4,Analog5,Analog6,Analog7 jobs.modbus-heartbeat.fields.Analog0=holding-register:12289:REAL jobs.modbus-heartbeat.fields.Analog1=holding-register:12293:REAL jobs.modbus-heartbeat.fields.Analog2=holding-register:12297:REAL jobs.modbus-heartbeat.fields.Analog3=holding-register:12301:REAL jobs.modbus-heartbeat.fields.Analog4=holding-register:12305:REAL jobs.modbus-heartbeat.fields.Analog5=holding-register:12309:REAL jobs.modbus-heartbeat.fields.Analog6=holding-register:12313:REAL jobs.modbus-heartbeat.fields.Analog7=holding-register:12317:REAL
My question is if there is some way to read an array from the configuration of kafka-connect, like:
jobs.modbus-heartbeat.fields=Analog jobs.modbus-heartbeat.fields.Analog=holding-register:12289:REAL[8]
If you could send an example of this I really appreciated, I find the documentation a bit sparse.
Attachments
Issue Links
- links to