Hi,

Could somebody help me whether my understanding is correct as I am very new
to kafka.

1. Topic name- ProdCategory,  with 4 partitions. All the messages are XML
files . And consumer numbers also 4. Multi-Broker -4.
2. XML files vary in size from 10 KB- 1 MB.

3. Say if there are 100 XML files.(Serialized)

Questions:

1. Will Kafka distribute the 100 serialized files randomly  say 20 files go
to   Partition 1, 25 to Partition 2 etc or do I have an option to configure
how many files go to which partition .
2.  How to configure each consumer to read from a particular partition
only. Say consumer 1 to read from partition 4 only likewise.

2. If I have not set the max size what will happen to that 1MB file, I read
in the documentation that default size is 10KB.

Thanks

Reply via email to