TwitterStreamingSparkKafkaDemo
a demo project to Analyze most popular twitter hashtags using Java 8 Spring-Boot Spark Streaming Kafka & Docker Demo.
Install / Use
/learn @medmes/TwitterStreamingSparkKafkaDemoREADME
Twitter Streaming Analyze using Java 8, Spark Streaming, Kafka,
⚠️ WARNING: This project is archived and will no longer be maintained. No further updates, bug fixes, or security patches will be provided. Use it at your own risk.
A demo project using Spark Streaming to analyze popular hashtags from twitter. The data comes from the Twitter Streaming API source and is fed to Kafka. The consumer com.twitter.producer.service receives data from Kafka and then processes it in a stream using Spark Streaming.
Requirements
- Apache Maven 3.x
- JVM 8
- Docker machine
- Registered an Twitter Application. The following guides may also be helpful: How to create a Twitter application.
Quickstart guide
-
Change Twitter configuration in
\producer\src\main\resources\application.ymlwith your API Key, client Id and Secret Id. -
Run the kafka image using docker-compose(keep in mind that the kafka image need to pull zookeper too):
~> docker-compose -f producer/src/main/docker/kafka-docker-compose.yml up -d
- Check if ZooKeeper and Kafka is running (from command prompt)
~> docker ps
- Run poducer and consumer app with:
~> mvn spring-boot:run
References
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
prose
347.2kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
