Menu

Queue vs Topic vs Log: Picking the Broker
πŸ“°

Queue vs Topic vs Log: Picking the Broker

DEV Community: azureΒ·Alok Ranjan DaftuarΒ·14 days ago
#lioClycH
#devtoazure#devto#dev#consumer#topic
Reading 0:00
15s threshold

Most broker decisions are made in a ten-minute conversation that ends with "we'll just use Kafka," or from the other side, "SQS is fine, it's cheap." Both sentences treat the broker as a throughput-and-price decision. It isn't. What you are actually choosing is a contract : who owns a message after it is delivered, who tracks how far each consumer has read, and whether yesterday's events still exist tomorrow.

Get the contract wrong and no tuning fixes it. A team that picks a queue and later needs a new service to bootstrap from the last 30 days of order events has nothing to replay.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.