From the course: Apache Kafka Essential Training: Getting Started

Unlock this course with a free trial

Join today to access over 25,400 courses taught by industry experts.

Kafka basics use case: Problem definition

Kafka basics use case: Problem definition - Kafka Tutorial

From the course: Apache Kafka Essential Training: Getting Started

Kafka basics use case: Problem definition

- [Instructor] In this chapter, you will implement a simple use case in Kafka to exercise the learnings in the course. Beyond this use case, I also recommend that you try out some of your own use cases. We have three exercises to do in this course. First, create a topic called kafka.usecase.students. Assume that this topic would need to publish student scores. It'll have two partitions and a replication factor of 1. Second, use the console producer to publish messages to the this topic, publish both key and value. Use a console consumer to consume messages from this topic. Finally, build a producer and a consumer in Java for the same topic. We will execute the code and then review the results. Best of luck for the use case. Once you have completed that use case, you can check the other videos in the chapter for the solutions.

Contents