PubNub Spout for Storm

What is PubNub?

PubNub is a real-time messaging platform which uses publisher / subscriber pattern. You can find out more about PubNub by visiting www.pubnub.com

What is Storm?

Storm is a free and open source distributed realtime computation system. Storm can be used in scenarios like: realtime analytics, online machine learning, continuous computation, distributed RPC, ETL, and more. To learn more about Storm project, visit Storm Project website

PubNub Spout for Storm

Once you get familiar with Storm, you would know that Storm uses a concept called Spouts. A Spout is a source of streams in a Storm topology.   Basically Spout is the one who will read tuples from the external source and emit them in to the Storm topology. Please refer to Storm Wiki to read more about the concept of Spout.

In this post it will show how to use PubNub as the real-time external data source for a Storm topology, by making a PubNub Spout. Continue reading PubNub Spout for Storm

Install JDK 7 on Ubuntu (Precise Pangolin, Quantal Quetzal)

Today I installed Ubuntu GNU/Linux 12.10 (Quantal Quetzal) in my new laptop. So I had to install JDK in order develop and run Java applications on it. I installed it manually. This is how it was done. This tutorial should works with 12.04  LTS (Precise Pangolin) too.

1. First you need to download JDK 7 (At the moment it’s JDK 7U11) – Download

2. Extract the downloaded tar file using this terminal command

Continue reading Install JDK 7 on Ubuntu (Precise Pangolin, Quantal Quetzal)