From the course: Apache Kafka Essential Training: Building Scalable Applications
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Creating topics with replication - Kafka Tutorial
From the course: Apache Kafka Essential Training: Building Scalable Applications
Creating topics with replication
- [Instructor] Let's now create a couple of topics in Kafka with partitions and replications. Then we will observe how partitions and replicas are distributed among the brokers. In order to create topics, we can either do through the command line tools or we can do through the Kafdrop UI. We will use the Kafdrop UI for that now. First, let's click the New button to open the topic creation page. We'll first create a topic called Kafka.learning.orders. This we will create with three partitions and two replicas. We hit the Create button, the topic is successfully created. We will then create another topic called Kafka.learning.tweets. Here we will use four partitions and three replicas. We again create this topic in the same manner. Now let's go back to the Kafdrop homepage. We can see the topics now showing up in the Topics list. Let's click on the Kafka.learning.orders topic to explore more. In the Partition Detail table,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.