qmetrics.net

Ruby Kafka

Ruby client library for Apache Kafka

Messaging & Event StreamingNo longer maintainedDesktop/CLI app

Ruby Kafka is no longer maintained. The project says: “This library is no longer actively developed and has been superseded by librdkafka via rdkafka-ruby bindings.” source Look at the maintained alternatives below before choosing it.

Ruby Kafka screenshot

ruby-kafka is a Ruby gem for producing and consuming Kafka messages, focused on operational simplicity with logging and metrics. Maintenance has shifted to rdkafka-ruby.

Overview

ruby-kafka connects Ruby applications to Apache Kafka clusters. A client is initialized with seed brokers and discovers the rest of the cluster, keeping its own broker connection pool for a single thread.

Producers can send single messages or buffer batches with retries and delivery guarantees. An asynchronous producer API avoids blocking the caller by delivering in a background thread, with optional buffer-size and interval policies. Consumers support groups, checkpointing, subscriptions, and batch reads.

Message keys and values are treated as binary data so teams pick their own serialization, such as JSON or Avro. Partitioning can spread load or pin related events to one partition via partition or message keys. SSL and SASL security options are documented.

The maintainers state the library is no longer actively developed and recommend librdkafka via rdkafka-ruby for production, though security and bug fixes may still appear. Kafka broker version support varies by gem release series, with fuller coverage on older broker lines and limited support on newer Kafka versions.

Key features

  • Cluster discovery from seed brokers
  • Sync and async producers
  • Consumer groups and checkpointing
  • Configurable partitioning keys
  • SSL and SASL authentication
  • Instrumentation and metrics hooks
  • Topic management helpers
  • Buffering with retry handling

Use cases

  • Ruby apps publishing to Kafka
  • Ruby consumers in consumer groups
  • Rails apps streaming events
  • Legacy Kafka 0.9–0.10 integrations

Tags

Similar software

Socket.IO

Bidirectional real-time communication for web and Node

Socket.IO enables low-latency, event-based communication between clients and servers. It prefers WebSockets and falls back to HTTP long-polling when needed.

★ 63.3k⟳ 4 days agoMIT
Frameworks & PlatformsDesktop/CLI app

ntfy

HTTP pub-sub push notification service

Ntfy sends push notifications to phones and desktops via simple HTTP PUT or POST requests and a REST API, without requiring sign-up on the public host.

★ 35.8k⟳ todayApache-2.0

Celery

Distributed task queue for Python workers and brokers

Celery distributes units of work called tasks from client applications to worker processes through a message broker. It supports RabbitMQ, Redis, Amazon SQS, and other transports with retries and scheduling features.

★ 29.3k⟳ yesterdayBSD-3-Clause

NSQ

Realtime distributed message queue and pub-sub platform

NSQ is a distributed messaging system built for large-scale throughput. It avoids single points of failure and ships with official Go and Python client libraries.

★ 25.8k⟳ 3 months agoMIT

Redisson

Java client and real-time data platform for Valkey and Redis

Redisson is a Java client for Valkey and Redis with synchronous, asynchronous, reactive, and RxJava APIs. It adds distributed collections, locks, queues, caching helpers, and related services on top of standard Valkey or Redis deployments.

★ 24.4k⟳ 4 days agoApache-2.0

whatsapp-web.js

Node.js client for WhatsApp Web automation

whatsapp-web.js drives WhatsApp Web through Puppeteer so Node programs can send, receive, and manage chats with many web-client features. It targets multi-device accounts and documents session auth strategies.

★ 23k⟳ 3 days agoApache-2.0
Integration PlatformsDesktop/CLI app