Integration / Apache Pulsar Interview questions
Define a partitioned topic in Pulsar?
A partitioned topic is a topic actually implemented as a set of internal sub-topics (partitions), each of which can be owned and served by a different broker, letting a single logical topic scale throughput beyond what one broker could handle alone.
Producers route each message to a specific partition (round-robin, key hash, or custom logic), and consumers on a Shared or Key_Shared subscription can be spread across partitions to parallelize consumption.
Unlike a non-partitioned topic (served entirely by one broker), a partitioned topic's ordering guarantee only applies within each partition, not across the topic as a whole.
More Related questions...