Confluent

Should You Put Several Event Types in the Same Kafka Topic? | Confluent

Jan 18, 2018Martin Kleppmann
Should You Put Several Event Types in the Same Kafka Topic? | Confluent
SummaryAI, from the source post

This post introduces the concept that Kafka performance is primarily impacted by the number of partitions, not topics. It advises merging low-throughput topics to reduce partition count and improve latency. It also emphasizes the importance of ordering for events related to the same entity, recommending they be placed in the same topic and partition, especially for event sourcing and microservice communication. The post provides guidelines for when to split or combine topics based on entity relationships, throughput, and consumer needs.

More from the Kafka Partition Scalability trail