Introduction
Kafka topics are where messages are stored and organized. Configuring topics lets you control how data is kept, how long it stays, and how it is shared among users.
When you want to set how many copies of your data Kafka keeps for safety.
When you need to decide how long messages stay before they are deleted.
When you want to control how many parts a topic has to allow multiple users to read and write at the same time.
When you want to change the way Kafka cleans up old messages to save space.
When you want to adjust the speed and size of data Kafka handles for better performance.