消息中间件-kafka

本文介绍了ZooKeeper、Consul、Eureka和Etcd等注册中心,然后详细探讨了消息中间件的重要性,特别是Kafka。Kafka是一个高性能、基于发布/订阅的消息系统,文中提到了其与ActiveMQ、RabbitMQ等的区别,并提供了Kafka的安装和实战指南。
摘要由CSDN通过智能技术生成

一、目前市面上比较流行的注册中心有ZoopeekerconsulEurekaetcd

1. ZoopeekerApache ZooKeeper is an effort to develop and maintain an open-source server which enables highly reliable distributed coordination.   Zoopeeper致力于开发和维护一个开源服务器,提供实现高效且可靠的分布式协调服务。是HadoopHbase的重要组件。

需要了解更多可以参看wiki: https://cwiki.apache.org/confluence/display/ZOOKEEPER/Index

 

2. Consul:Consul is a tool for service discovery and configuration. Consul is distributed, highly available, and extremely scalable.   Consul是用于服务发现和配置的工具,它是分布式的、高可用的、易扩展的。代码托管:https://github.com/hashicorp/consul

 

3. EurekaEureka is a REST based service that is primarily used in the AWS cloud for locating services for the purpose of load balancing and failover of middle-tier servers. Eureka是一种基于REST的服务,主要使用在AWS云(亚马逊云)上定位服务,以实现中间层服务器的负载均衡和故障转移。

Wiki: https://github.com/Netflix/eureka/wiki/Eureka-at-a-glance

 

4. Etcd:etcd is a distributed reliable key-value store for the most critical data of a distributed system.  etcd为分布式系统最关键数据提供可靠的分布式键值存储。(使用在CoreOS系统和k8s容器上)

更多了解:https://github.com/coreos/etcd

 

这几个服务发现中心对比:

 

分布式领域CAP<

  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值