eclipse / paho.mqtt.android

MQTT Android
Other
2.92k stars 881 forks source link

How to connect with Kafka #213

Open Hemant0601 opened 7 years ago

Hemant0601 commented 7 years ago

I have a server setup for kafka as well as zookeeper, I checked at server creating Producer and Consumer from command line and everything working ok. Now, how can I use this sample to create a Producer and Consumer to test the data transfer. Thanks

miketran78727 commented 7 years ago

This Android client is a MQTT client. Kafka is not a MQTT broker. You will need a Kafka source connector to stream data from a MQTT broker into Kafka cluster.

Hemant0601 commented 7 years ago

@miketran78727 Can u guide if I want to use the paho mqtt then which broker I can use for free. Also it would be good if you can provide any pointer for any Android client to connect with Kafka.

miketran78727 commented 7 years ago

Try this open source MQTT broker https://mosquitto.org/