I am working to connect RabbitMQ through Spark Streaming MQTT component. I am using the below broker url
"ampq://usernameassword@hostname:5672/" and I have also tried using the vHost after the url but getting an error that URL is incorrect. Could you please tell me as I am using the correct URL or any jar files to be set.
what component are You use?
5672 - it is amqp port
MQTT (even in Rabbit) use 1883
if You have RabbitMQ setup with AMQP, and try to use tMQQTInput for this, it is wrong
You at least need enable MQTT plugin on RabbitMQ and use proper URI for MQTT