Bruce Kafka 生产者守护进程开源项目

我要开发同款
匿名用户2014年09月10日
105阅读
开发技术C/C++
所属分类服务器软件、JMS/消息中间件
授权协议Apache

作品详情

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

Routingmessagestotheproperbrokers,andspreadingtheloadevenlyacrossmultiplepartitionsforagiventopic

Waitingforacknowledgements,andresendingmessagesasnecessaryduetocommunicationfailuresorKafka-reportederrors

BufferingmessagestohandletransientloadspikesandKafka-relatedproblems

Trackingmessagediscardswhenseriousproblemsoccur;Providingweb-baseddiscardreportingandstatusmonitoringinterfaces

Batchingandcompressingmessagesinaconfigurablemannerforimprovedperformance

BrucerunsoneachindividualhostthatcommunicateswithKafka,receivingmessagesfromlocalclientsoveraUNIXdomaindatagramsocket.ClientswritemessagestoBruce'ssocketinasimplebinaryformat.Onceaclienthaswrittenamessage,nofurtherinteractionwithBruceisrequired.Fromthatpointonward,Brucetakesfullresponsibilityforreliablemessagedelivery.BruceservesasasingleintakepointforaKafkacluster,receivingmessagesfromdiverseclientsregardlessofwhatprogramminglanguageaclientiswrittenin.ClientcodeiscurrentlyavailableinC,C++,Java,Python,andPHP.Codecontributionsforclientsinotherprogramminglanguagesaremuchappreciated.TechnicaldetailsonhowtosendmessagestoBruceareprovided here.BrucerunsonLinux,andhasbeentestedonCentOSversions7and6.5,andUbuntuversions14.04.1LTSand13.10.Brucerequiresatleastversion0.8ofKafka.

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论