From the course: Stream Processing Design Patterns with Kafka Streams

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Real-time predictions: Review

Real-time predictions: Review

- [Instructor] In this video, we will execute the sentiment analysis pipeline and view the results. We first start at kafka-console-consumer to listen to the messages published to the streaming.sentiment.output topic. We will print both the key and the value. We then execute the RunLocalWebServer class to start the http sentiments service. The sentiments service is running now. Details of requests received and responses generated would be printed to the console. Now, let's start the StreamingPredictions class. This starts the Kafka movie reviews generator also. As seen from the console, movie reviews are sent to the input topic, as shown by the purple messages. Then sentiment analysis is done on the review and the resulting dataset is printed to the console. We can now check the console consumer. We see that the relevant reviews and their sentiments are published successfully to the topic. This completes our discussions on…

Contents