Setup Twitter Developer Account and Create an App

  1. link: https://developer.twitter.com/en/apps
  2. You need to give good reason and detail your app description.

 

 

Get Dependencies

link: https://github.com/twitter/hbc

Create New Producer and Consumer

Step 1: Overview

Step 2: Create a Twitter Client

Step 3: Create a Kafka Producer

Step 4: Create a Topic

Step 5: Launch Kafka Console Consumer

Full Code