您的位置:首页 > 运维架构

Kafka的topic限制是多少

2016-09-28 18:19 127 查看
原文地址:https://cwiki.apache.org/confluence/display/KAFKA/FAQ#FAQ-HowdoesKafkadependonZookeeper?


How many topics can I have?


Unlike many messaging systems Kafka topics are meant to scale up arbitrarily(武断的). Hence we encourage fewer large topics rather than many small topics. So for example if we were storing notifications for users we would encourage a design with a single notifications
topic partitioned by user id rather than a separate topic per user.

The actual scalability is for the most part determined by the number of total partitions across all topics not the number of topics itself.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: