Integration / Apache Pulsar Interview questions
What is a Pulsar broker?
A broker is the stateless component that handles all producer and consumer traffic for the topics it owns - accepting published messages, dispatching them to subscribed consumers, and enforcing policies - without storing the actual message data itself.
Because brokers hold no persistent state, any broker can take over a topic; on failure only ownership needs to move, not data, letting failover happen in seconds instead of minutes.
Brokers write and read message entries by talking to a BookKeeper ensemble behind the scenes, and cache recently read entries in memory to serve consumers without always hitting BookKeeper directly.
More Related questions...