Integration / Apache Pulsar Interview questions
What is a subscription in Pulsar?
A subscription is a named cursor that tracks a consumer group's read position on a topic, independent from the topic's own data - it's what makes Pulsar behave like a durable queue and a pub-sub system at once, depending on how it's used.
Multiple subscriptions can exist on the same topic simultaneously, each tracking its own independent position, so different consumer groups can read the same stream of messages at their own pace without affecting each other.
The chosen subscription type controls how consumers attached to that subscription divide up the topic's messages.
More Related questions...