Skip to content

malejpavouk/kafka-twitter-producer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka Twitter Producer (Spring Boot)

Consumes messages from Twitter using Twitter4j library and sends the tweets into Apache Kafka broker.

Configuration

Configure you Twitter API credentials and Kafka broker in resources/application.yaml. Default configuration assumes that you have a topic named twitter present in your Kafka broker.

Build

This project is built using Gradle. If you do not have gradle installed on your system, just run gradlew build. This command will in-place download Gradle and will build the project. Resulting jar file will be located under build/libs directory.

Execution

java -jar kafka-twitter-producer-0.0.1.jar

Disclaimer

This code is not intended for production usage, it was written as a quick intro to Apache Kafka during ZOOM International Hackathon (Autumn 2017).

About

Kafka producer consuming Twitter API based on Spring Boot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages