Recently I noticed that when I create a new empty topic, each partition will have 21MB data! I even change the Kafka version from 0.11.3 to 2.1.0 but it shows the same behavior. For example, if I create a new topic using the command :
kafka-topics.sh --zookeeper zoo1:2181 --create --topic test --replication-factor 1 --partitions 5 here is the list of files in the LOG_DIR/test-1 (Partition one of the topic test) 10M test-1/00000000000000000000.index 0 test-1/00000000000000000000.log 10M test-1/00000000000000000000.timeindex 4.0K test-1/leader-epoch-checkpoint Is it natural behavior?
