Target Ready - Spark/Scala - Team 1 - Kafka Data Streaming
Data Streaming - Kafka
Use case:
Produce a kafka topic,post messages and consume data.
Steps:
- Create a dataset of 1 million records and store it in your local machine.
- Read the dataset and store data in any database (Postgress/Mongo).
- Create a Kafka topic.
- Read the dataset using spark and post these 1 million rows as messages into the Kafka topic.
- Read the messages from the topic and store it any database or text format.