Kafka简介, Kafka和RabbitMQ区别

Posted on 2018-09-17 11:35:00

Kafka简介, Kafka和RabbitMQ区别

kafka基本原理概述——patition与replication分配 - 新际航 - 博客园

Kafka专用术语:

kafka中partition和消费者对应关系 - 简书

Partition & Group

1个partition只能被同组的一个consumer消费,同组的consumer则起到均衡效果。

换而言之,1个partition如果被多个consumer消费,那这几个consumer必定属于不同组。

KafkaController介绍_happy19870612's blog-CSDN博客

Kafka Controller

Kafka集群建立过程分析 - 简书

Kafka 代码详解

kafka调优技巧:

20道经典的Kafka面试题详解 - 简书

Kafka 自2.8版本后不再需要Zookeeper维护一致性:

Kafka 不再需要 ZooKeeper - 性能与架构 - 博客园

以下内容为转者(rav009)原创:

What is the difference between Kafka and RabbitMQ?

Horizontal Scalablity:

Kafka will seperate a topic into several partitions. Each partition will be processed on a certain server. While RabbitMQ has a master queue and mirror queues, the mirror queue will be used only when the master queue failed. So this is a HA. The performance of RabbitMQ is determined by the spec of the server where the master queue locates in.

Routing Rules & Subscription**:**

RabbitMQ supports complicated routing rules to delivery the messages. While kafka uses subscription mechinism.