Giter VIP home page Giter VIP logo

java-poller-demo's Introduction

Tweet Poller

Periodically fetch tweets from a specified data store.

Required

  • JRE 7
  • Apache Commons: commons-configuration-1.6, commons-lang-2.5, commons-logging-1.1.1
  • Gson: gson-2.2.2
  • Guava: guava-11.0.2
  • Hadoop hadoop-auth-2.0.0-cdh4.0.0, hadoop-common-2.0.0-cdh4.0.0
  • HBase: hbase-0.92.1-cdh4.0.0-security
  • HBaseWD
  • Log4J: log4j-1.2.16
  • orderly
  • Simple Logging Facade for Java (SLF4J): slf4j-api-1.6.1, slf4j-log4j12-1.6.1
  • Zookeeper: zookeeper-3.4.3-cdh4.0.0
  • All required libraries are located in the lib/ folder.

How to Run

Polling 1-minute window real-time (0 min lagged time) tweets from HBase plr_sg_tweet_live table every 1 minute:

java -cp poller.jar:lib/* poller.HBasePoller plr_sg_tweet_live 0 1 1

Polling 1-minute window real-time (0 min lagged time) tweets from PalanteerDev Rest API http://research.larc.smu.edu.sg:8080/PalanteerDevApi/rest/v1/tweets/search endpoint every 1 minute:

java -cp poller.jar:lib/* poller.RestApiPoller http://research.larc.smu.edu.sg:8080/PalanteerDevApi/rest/v1/tweets/search 0 1 1

java-poller-demo's People

Contributors

aekpalakorn avatar

Watchers

James Chang avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.