I have Kafka 0.8.1.1 running and configured to have 24 partitions:$ grep partition /usr/lib/kafka_2.8.0-0.8.1.1/config/server.properties# The default number of log partitions per topic. More partitions allowgreaternum.partitions=24

But some of the topics don't seem to have 24 partitions, like this one:

The partition segment files are only created when the first message of thispartition as arrived, so 1) if your producer send keyed messages whichspecifies their partitions or 2) your producer has not sent enough data (in0.8.x it stick to one partition for a while before going to the next one inround robin) then later partitions may not be created. To verify that thistopic does have 24 partitions you can use bin/kafka-topics.sh tool to checkits partition distribution.