本文介绍了卡夫卡经纪人vs话题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
主题通常位于代理(服务器进程)内,并且具有多个分区,但是它可以跨越多个代理或节点(机器)吗?
A topic usually resides within the broker (server process) and has multiple partitions, but can it span across multiple brokers or nodes (machines)?
即,可以说一个主题分为两个分区,分区1和分区2.分区1可以属于同一主题的代理1,分区2可以完全属于不同的代理2或不同的节点吗?
i.e, lets say a topic is divided into two partitions, partition-1 and partition-2. Can partition-1 belong to broker-1 and partition-2 of the same topic belong to a different broker-2 or a different node altogether?
推荐答案是的,主题的不同分区可以存储在多台计算机中.但是,一个分区必须完全存储在一台机器上.
Yes, different partitions of a topic can be stored in multiple machines. But, a single partition has to be stored entirely in one machine.
更多推荐
卡夫卡经纪人vs话题
发布评论