Queues RabbitMQ లో messages కోసం వేచి ఉన్న వరకు పట్టుకోవటం — producers మరియు consumers మధ్య buffers గా కనిపిస్తాయి. Queue properties (durability, acknowledgments, మొదలైనవి) అర్థం చేసుకోవడం విశ్వసనీయ messaging కోసం ముఖ్యమైనది.
Queues ఏమి చేస్తాయి
A QUEUE holds messages until a consumer takes them:
→ messages wait in the queue (a buffer) → decouples producer speed from consumer speed
→ consumers receive messages (push or pull), process them, and ACKNOWLEDGE
→ roughly FIFO (first-in, first-out) order
→ the buffer between producers and consumers (absorbs load, enables async)
ప్రధాన queue లక్షణాలు
DURABLE → the queue survives a broker RESTART (the queue definition persists)
(+ PERSISTENT messages → messages also survive restart → durability)
EXCLUSIVE → used by only one connection; deleted when that connection closes
AUTO-DELETE → deleted when the last consumer disconnects
TTL → messages (or the queue) can expire after a time
MAX LENGTH → limit queue size (drop/overflow when full)
→ configure based on durability and lifecycle needs
