We will be dividing the sentiments use case into two parts:
- Collecting tweets from Twitter and storing them in Kafka
- Reading the data from Kafka, calculating the sentiments, and storing them in HDFS
We will be dividing the sentiments use case into two parts:
In this section, we are going to cover how we can stream the tweets from Twitter using the twitter streaming API. We are also going to cover how we can store the fetched tweets in Kafka for later processing through Storm.
We are assuming you already have a twitter account, and that the consumer key and access token are generated for your application. You can refer to: https://bdthemes.com/support/knowledge-base/generate-api-key-consumer-token...