Kafka Topic Partitions in Practice

Learn how to find the number of partitions in a topic, determine the number of partitions for new topics, and change the number of partitions of an existing topic.

Checking the number of partitions in a topic

How can we find out the number of partitions in a topic? Connect to the terminal below (the Kafka server will start running automatically). Then, create a topic like we did in previous lessons by running the following:

Get hands-on with 1400+ tech skills courses.