Broker #

Kafka
A complete guide to Apache Kafka in Ruby — topic, partition, and consumer group concepts, installing ruby-kafka and rdkafka, producers with batching and compression, consumers with manual commit, error handling and dead letter queues, the Karafka framework for Rails, Avro serialization, idempotent producers, exactly-once semantics, monitoring, and a Kafka vs RabbitMQ vs SQS comparison.
RabbitMQ
A complete guide to RabbitMQ in Ruby — AMQP concepts, exchange types (direct, fanout, topic, headers), installing the Bunny gem, connections and channels, producers with confirms, consumers with manual ack, Dead Letter Exchanges, Priority Queues, the Request-Reply RPC pattern, Sneakers for Rails background jobs, graceful shutdown, and monitoring.
Amazon SQS
A complete guide to Amazon SQS in Ruby — Standard vs FIFO queues, installing aws-sdk-sqs, IAM authentication configuration, sending and receiving messages, long polling, visibility timeouts, Dead Letter Queues, batch operations, message attributes, SNS integration for fan-out, Shoryuken for Rails background jobs, and at-least-once vs exactly-once processing strategies.
Google Pub/Sub
A complete guide to Google Cloud Pub/Sub in Ruby — topic and subscription concepts, service account and ADC authentication, publishers with ordering keys and batching, push and pull subscribers, acknowledgment and nack, Dead Letter Topics, retry policies, snapshots for replay, subscription filters, Pub/Sub Lite for high throughput, Rails integration, and an emulator for local development.
About | Author | Content Scope | Editorial Policy | Privacy Policy | Disclaimer | Contact