Spark Integration with RabbitMq or Kafka

2,270 views
Skip to first unread message

Naga Reddy .S S

unread,
May 7, 2013, 6:55:56 AM5/7/13
to spark...@googlegroups.com
Hi,

I am new to Spark framework and need help to develop prototype which I am working on. 
Here is my first doubht.
Can you please explain how I can integrate Kafka or RabbitMq with Spark for realtime analyatics?

Best regards,
Reds

Mark Hamstra

unread,
May 7, 2013, 1:12:47 PM5/7/13
to spark...@googlegroups.com

gyorg...@gmail.com

unread,
Jun 10, 2013, 7:32:29 AM6/10/13
to spark...@googlegroups.com
Hi!
I'd suggest Kafka because it's fair easy to fire up.
Take a look here: http://kafka.apache.org/07/quickstart.html
You can fire up a kafka server in minutes. If it's running, you just have to
  • implement a seperated producer to send messages
  • implement a spark streaming app (in scala or java) that subscribes to this kafka topic and will receive these messages

I'm currently researching the same topic for my company, here is my app's skeleton:

http://pastebin.com/sjEG4T5J

You should provide more specific questions. Read the docs:
Reply all
Reply to author
Forward
0 new messages