I'm working on Azure cloud solution. I'm using IoT Hub connected to Kafka in order to process data coming from various IoT devices. What I'm facing is that all the data coming from multiple devices are stored in the same topic . However, I want to process the data of each device connected to IoT Hub to a specific topic in Kafka (Each device has its own Kafka topic)
The Toketi "Kafka Connect Source Connector for Azure IoT Hub" provides the following config file (edge node)
connector.class=com.microsoft.azure.iot.kafka.connect.source.IotHubSourceConnector
name=AzureIotHubConnector
tasks.max=1
Kafka.Topic=IotTopic
IotHub.EventHubCompatibleName=iothub-toketi
IotHub.EventHubCompatibleEndpoint=sb://iothub-001.servicebus.windows.net/
IotHub.AccessKeyName=service
IotHub.AccessKeyValue=4KsdfiB9J899a+N3iwerjKwzeqbZUj1K//KKj1ye9i3=
IotHub.ConsumerGroup=$Default
IotHub.Partitions=4
IotHub.StartTime=2016-11-28T00:00:00Z
IotHub.Offsets=
BatchSize=100
ReceiveTimeout=60
It workes for one topic to store all data from multiple devices but i expect to do isolation between data coming from devices
Any solutions or ideas !!
Thanks