原答案:难道不是topic的扩展能力吗?不然单topic的容量只能限制在物理机上了 更新后的答案: The partitions in the log serve several purposes. First, they allow the log to scale beyond a size that will fit on a single server. Each inpidual partition must fit on the servers that host it, but a topic may have many partitions so it can handle an arbitrary amount of data. Second they act as the unit of parallelism—more on that in a bit. 官方文档(见上文)。 partitions 主要有两个目的,1 增强扩展能力,让其可以处理任意多的数据 2 作为并行单元,提高并行能力(主要鉴于此点考虑)。 第一次回答我只记住第一点了~~sorry
原答案:难道不是topic的扩展能力吗?不然单topic的容量只能限制在物理机上了
更新后的答案:
The partitions in the log serve several purposes. First, they allow the log to scale beyond a size that will fit on a single server. Each inpidual partition must fit on the servers that host it, but a topic may have many partitions so it can handle an arbitrary amount of data. Second they act as the unit of parallelism—more on that in a bit.
官方文档(见上文)。
partitions 主要有两个目的,1 增强扩展能力,让其可以处理任意多的数据 2 作为并行单元,提高并行能力(主要鉴于此点考虑)。
第一次回答我只记住第一点了~~sorry