Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> Num of partitions != num.partitions in config

Copy link to this message
Re: Num of partitions != num.partitions in config
Hi Otis,

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

On Sat, May 31, 2014 at 12:46 PM, Otis Gospodnetic <