Skip to content

This is a sbt project to describes how to pull tweets from twitter and publish into Kafka.

Notifications You must be signed in to change notification settings

techmonad/tweet-publisher-to-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Pre-Requisites for this project

Kafka Setup

i) Download the Kafka-0.10.0.1 or latest version and unzip it.

ii) Run the following command. Start zookeeper & Kafka:

     $ bin/zookeeper-server-start.sh config/zookeeper.properties 
     $ bin/kafka-server-start.sh config/server.properties

Getting Started:


Clone and run the code:

    $ git clone [email protected]:techmonad/tweet-publisher-to-kafka.git
    $ cd tweet-publisher-to-kafka
    $ env "twitter4j.oauth.consumerKey=*****************" bash
    $ env "twitter4j.oauth.consumerSecret=**************" bash
    $ env "twitter4j.oauth.accessToken=*****************" bash
    $ env "twitter4j.oauth.accessTokenSecret=***********" bash
    $ sbt run

About

This is a sbt project to describes how to pull tweets from twitter and publish into Kafka.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages