微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Bruce Kafka 生产者守护进程

程序名称:Bruce

授权协议: Apache

操作系统: Linux

开发语言: C/C++

Bruce 介绍

Bruce 是 Apache Kafka 的生产者守护进程,它简化了客户端发送消息到
Kafka ,无需关注后端的 Kafka 集群。Bruce 主要处理:

  • Routing messages to the proper brokers, and spreading the load evenly across multiple partitions for a given topic

  • Waiting for ackNowledgements, and resending messages as necessary due to communication failures or Kafka-reported errors

  • Buffering messages to handle transient load spikes and Kafka-related problems

  • Tracking message discards when serIoUs problems occur; Providing web-based discard reporting and status monitoring interfaces

  • Batching and compressing messages in a configurable manner for improved performance

Bruce runs on each individual host that communicates with Kafka, receiving
messages from local clients over a UNIX domain datagram socket. Clients write
messages to Bruce’s socket in a simple binary format. Once a client has
written a message, no further interaction with Bruce is required. From that
point onward, Bruce takes full responsibility for reliable message delivery.
Bruce serves as a single intake point for a Kafka cluster, receiving messages
from diverse clients regardless of what programming language a client is
written in. Client code is currently available in C, C++, Java, Python, and
PHP. Code contributions for clients in other programming languages are much
appreciated. Technical details on how to send messages to Bruce are provided
here.
Bruce runs on Linux, and has been tested on CentOS versions 7 and 6.5, and
Ubuntu versions 14.04.1 LTS and 13.10. Bruce requires at least version 0.8 of
Kafka.

Bruce 官网

https://github.com/tagged/bruce

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐