Kafka Realize and use
一、 Concept
the broker connects to the zookeeper
zookeeper recorder broker status
elect one broker as a controller
controller manage partition and replication-factor status
record topic list, amount of topic's partition, location of replication-factor
topic --》多个(partition),每个
one partition has multiple replication-factor
one partition has a lead
the producer can connect to brokers
the consumer can connect to the zookeeper
the consumer can split group, and from which point receives the message(--from-beginning,)
Message can specify log.retention.hours .
二、 Installation
2.1 install zookeeper
2.2 install Kafka
三、 User it in C#
posted on 2020-09-17 10:50 developer1980 阅读(42) 评论(0) 收藏 举报
浙公网安备 33010602011771号