Re: How to reduce time for consumer to take over?

2017-10-09 Thread Stevo Slavić
Hello Christian, Assuming that you are using new Java kafka-clients with Kafka's consumer group management, you'd have to tune consumers and broker. See - Broker config https://kafka.apache.org/documentation/#brokerconfigs -- group.initial.rebalance.delay.ms -- group.max.session.timeout.ms -- gro

How to reduce time for consumer to take over?

2017-10-09 Thread Christian Schneider
I have the following case: 1. I have 1 consumer that starts processing a message, then crashes (Java-VM shuts down) 2. I start a second consumer that should process the message instead. It seems that it takes about 60 seconds for the second consumer to take over the processing. Can this be speede