[ 
https://issues.apache.org/jira/browse/PLC4X-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17357260#comment-17357260
 ] 

Fernando  commented on PLC4X-299:
---------------------------------

It seems to work right now! 

Thank you very much for your quick cooperation, comments and solution. We would 
like to bring PLC4X to the industry, and for that we will do a lot of stress 
tests using kafka, I might get back in touch with you. If there is anything I 
can help you with or check, please do not hesitate to contact me. 

> Modbus - Kafka Connect Configuration 
> -------------------------------------
>
>                 Key: PLC4X-299
>                 URL: https://issues.apache.org/jira/browse/PLC4X-299
>             Project: Apache PLC4X
>          Issue Type: Bug
>          Components: Driver-Modbus, Integration-Kafka-Connect
>    Affects Versions: 0.8.0, 0.70
>            Reporter: Fernando 
>            Assignee: Ben Hutcheson
>            Priority: Major
>             Fix For: 0.8.0, 0.70
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> I am having problems ingesting data from Modbus using kafka. Following the 
> official documentation, to read a register from Modbus:
>  
> {code:java}
> holding-register:12289[10]
> {code}
>  
> 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: 
> {code:java}
> jobs.modbus-heartbeat.fields=Analog
> jobs.modbus-heartbeat.fields.Analog=holding-register:12289:REAL[8]
> {code}
>  It works configuring separately, following the next code:
>  
> {code:java}
> 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
> {code}
>  
> My question is if there is some way to read an array from the configuration 
> of kafka-connect, like:
> {code:java}
> jobs.modbus-heartbeat.fields=Analog
> jobs.modbus-heartbeat.fields.Analog=holding-register:12289:REAL[8]
> {code}
>  If you could send an example of this I really appreciated, I find the 
> documentation a bit sparse.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to