Hi,

Some basic questions concerning Partitioning & High availability

Background: Assume I have 3 nodes of Kafka

1. Should I set the num.partitions to 3 or 1?
2. By using the default DefaultPartitioner, it is

hash(key)%num_partitions

What if one of my node down (assume I am using 3 partitions)?

a. All message sent to this node will be dropped?
b. Do I need to wait all the node come up again and able to consume
the message again?

Thanks.

Reply via email to