Confluent
Confluent logoConfluent · Feature trail

Kafka Partition Scalability

8 posts · Mar 2015 – Jan 2026

What this trail covers

Skai successfully migrated their large-scale Kafka deployment to Confluent Cloud by re-architecting their topic strategy to drastically reduce the number of topics. They introduced "united-topic" strategies (single-pipeline, multiple-pipelines, heavy-load) to consolidate events from multiple tables into fewer topics, significantly improving manageability, reducing broker count, and lowering operational costs. Enhanced monitoring and lag handling mechanisms were implemented to address challenges with mixed event streams. The solution also addressed external Kafka client integration through a caching library for dynamic topic mapping. This migration resulted in a >90% reduction in topics without performance degradation, paving the way for further cloud adoption.

All Confluent trails
  1. Kafka Clusters and Cluster ManagementThis post addresses the decision-making process for when to create new Apache Kafka clusters. It outlines the physical limits of a single cluster (200,000 partitions or 4,000 partitions per broker) and discusses other limiting factors like network bandwidth, storage, CPU, and memory. It contrasts common but often invalid reasons for multiple clusters (data privacy, noisy neighbors, chargeback, operations overhead, segregation of analytical/transactional data, SLA compromise) with valid reasons (compliance, multi-geographic regions, disaster recovery, independent LOB growth). The post advocates for a single cluster for real-time event correlation and operational economies of scale, while suggesting multiple clusters for specific compliance or geographic needs. It introduces Confluent Cluster Linking and Schema Linking as solutions for inter-cluster data exchange. For operating large clusters, it proposes a federated governance model where a shared services team manages core components (brokers, ZooKeeper, Schema Registry) and LOB teams manage sub-clusters (Kafka Connect, ksqlDB). Key responsibilities for the shared services team include infrastructure provisioning, security, capacity assurance, self-service operations, monitoring, and data governance, with specific details on server security (authentication, TLS, authorization, quotas, audit logs, user provisioning) and capacity assurance (provisioning extra capacity, leveraging Confluent Cloud's elastic scaling).