Skip to content
This is an activator project. It describes how to pull tweets from twitter and push into Kafka.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project
src/main/g8
.gitignore
.travis.yml
LICENSE
README.markdown
activator.properties
build.sbt

README.markdown

A [Giter8][g8] template to describes how to pull tweets from twitter and push into Kafka.

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@github.com:knoldus/kafka-tweet-producer.git
    $ cd kafka-tweet-producer
    $ env "twitter4j.oauth.consumerKey=*****************" bash
    $ env "twitter4j.oauth.consumerSecret=**************" bash
    $ env "twitter4j.oauth.accessToken=*****************" bash
    $ env "twitter4j.oauth.accessTokenSecret=***********" bash
    $ bin/activator run

Template license

Written in ​ 2017​ by ​ Knoldus Software LLP

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/. [g8]: http://www.foundweekends.org/giter8/

You can’t perform that action at this time.