Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

waterdrop

> 编程语言
Open source

Standalone Karafka library for producing Kafka messages

286 stars0 likes2 views
WebsiteGitHub

About

Standalone Karafka library for producing Kafka messages

WaterDrop

WaterDrop is a standalone gem that sends messages to Kafka easily with an extra validation layer. It is a part of the Karafka ecosystem.

It:

  • Is thread-safe
  • Supports sync and async producing
  • Supports transactions
  • Supports buffering
  • Supports producing to multiple clusters
  • Supports multiple delivery policies
  • Supports per-topic configuration alterations (variants)
  • Works with async gems ecosystem
  • Works with Kafka 1.0+ and Ruby 3.2+
  • Works with and without Karafka

Documentation

Karafka ecosystem components documentation, including WaterDrop, can be found here.

Getting Started

If you want to both produce and consume messages, please use Karafka. It integrates WaterDrop automatically.

To get started with WaterDrop:

  1. Add it to your Gemfile:
bash
bundle add waterdrop
  1. Create and configure a producer:
ruby
producer = WaterDrop::Producer.new do |config|
  config.deliver = true
  config.kafka = {
    'bootstrap.servers': 'localhost:9092',
    'request.required.acks': 1
  }
end
  1. Use it as follows:
…

Issues· 8 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rubyapache-kafkaapache-kafka-producerkafkakarafka

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言