Re: Creating a Kafka Stream connector for PLC4X?

2018-03-12 Thread Niclas Hedhman
I have some Kafka experience, but not used Kafka Streams. But I think the most straight forward approach would still be to have a Kafka Producer on the PLC4X side simply writing to one or more Kafka topics, which is relatively simple. You need to 'configure' during the instance creation;

Re: RawSocket renamed to RawIpSocket and new RawEthernetSocket

2018-03-12 Thread Alexander Wellbrock
Well, the following is really ugly so beware: if you know about the network infrastructure (ask 'ip a' on unix) you could also run nmap with 'nmap -sn 192.168.1.0/24' to fill your arp cache with all devices connected to the network. Then you can use 'arp -a' to list all devices, even the ones

Creating a Kafka Stream connector for PLC4X?

2018-03-12 Thread Christofer Dutz
Hi, last week I attended the Kafka meetup of a colleague of mine and in his talk he introduced Kafka Streams and to me it sounded like a „Clustered Edgent“. My second thought was: would it not be cool to implement such a Kafka Stream Connector? Anyone here got the knowhow to do that?

Re: RawSocket renamed to RawIpSocket and new RawEthernetSocket

2018-03-12 Thread Christofer Dutz
Hi Alexander, yeah ... I already thought about that ... the "arp -a" does work, after I sort of had some form of communication prior to that lookup. My S7 is very uncommunicative if I just turn it on. Having fixed IP not much chatter leaving the grey box which my client could catch and

Re: RawSocket renamed to RawIpSocket and new RawEthernetSocket

2018-03-12 Thread Alexander Wellbrock
Hey Christofer, with your MAC-Address problem a hackish way could be to implement a small adapter for a native query of the arp-table and a little parser to parse the information which contains mac-addresses and corresponding network interfaces. On unix systems that would be 'arp -a' and

RawSocket renamed to RawIpSocket and new RawEthernetSocket

2018-03-12 Thread Christofer Dutz
Hi all, after realizing that Beckhoff seems to use ADS inside of EtherCat frames sent directly inside Ethernet frames (which seems to take only a fraction of the protocol overhead a normal TCP packet requires. I renamed the RawSocket to RawIpSocket and added a new type RawEthernetSocket, which