well, it's complicated to decide the num of partitons, it's up on your application. I think 8-64 is a better practise for most application, such as 16/32 partitions with 2 or 3 replicas. generally, the less the num of partitions you have , the less tps you will get, the more the num of partitions you have, the more cpu/io/mem/fd... it will occupies. And too many partitons means too many files which means sequence writting will be broken to random writting and reading.
forgive my poor English~ ?????? ???????? ?????????? ?????????? ??????20633284 | 13696519872 ????????????????????1699?? ???????????? ???????? ?????????? ?????????? 2018-11-11 22:38 ???????? users ?????? ??????Deciding number of partitions Hi, Maybe you can use the command like: kafka-topic.sh --create --topic <topic_name> --partitions <partition_number> --replication-factor <replica_number> --zookeeper <zookeeperIP:Port> I hope it helps! Regards! Cathy ------------------ ???????? ------------------ ??????: "Sachit Murarka"<connectsac...@gmail.com>; ????????: 2018??11??11??(??????) ????10:48 ??????: "users"<users@kafka.apache.org>; ????: Deciding number of partitions Hello All, I am new to kafka. Could anyone please tell how to decided number of partitions for our topic? Kind Regards, Sachit Murarka