用于生成 Kafka 消息的独立 Karafka 库
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:
1.0+ and Ruby 3.2+Karafka ecosystem components documentation, including WaterDrop, can be found here.
If you want to both produce and consume messages, please use Karafka. It integrates WaterDrop automatically.
To get started with WaterDrop:
bundle add waterdropproducer = WaterDrop::Producer.new do |config|
config.deliver = true
config.kafka = {
'bootstrap.servers': 'localhost:9092',
'request.required.acks': 1
}
end…暂无开放 Issues,或尚未同步最近议题。