Spark Streaming using MQTT

Six Stars

Spark Streaming using MQTT

I am working to connect  RabbitMQ through Spark Streaming MQTT component. I am using the below broker url

"ampq://usernameSmiley Tongueassword@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.

 

Forteen Stars

Re: Spark Streaming using MQTT

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

-----------
Six Stars

Re: Spark Streaming using MQTT

Thanks. How the URL looks like for MQTT and also how can i check whether the pulgin is enalbled. Could you please suggest. I have username/password and vhost , routingkey, and exchange.

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now