I am trying to subscribe to a mqtt topic with kafka connect, for this I used this connector: https://github.com/johanvandevenne/kafka-connect-mqtt. I followed the steps described there with a little modification and everything seemed to work. However, when I start the connector I get a ClassNotFoundException (screenshot) and the connector stops. It seems like it's coming from IMqttMessageListener but I don't know how to solve this.
Any ideas on what I can do?
This is my source file:
connector.class : be.jovacon.kafka.connect.MQTTSourceConnector
mqtt.broker : tcp://localhost:1883
mqtt.clientID: 1
mqtt.topic : test
kafka.topic: timestamp
key.converter:org.apache.kafka.connect.storage.StringConverter
key.converter.schemas.enable:false
value.converter:org.apache.kafka.connect.storage.StringConverter
value.converter.schemas.enable:false