Hi,

You want metadata.max.age.ms which, as you noticed, defaults to 5 minutes
:)

https://kafka.apache.org/documentation/#metadata.max.age.ms

Cheers,

Liam Clarke-Hutchinson

On Thu, May 21, 2020 at 1:06 PM Kafka Shil <kafka.s...@gmail.com> wrote:

> I was running a test where kafka consumer was reading data from multiple
> partitions of a topic. While the process was running I added more
> partitions. It took around 5 minutes for consumer thread to read data from
> the new partition. I have found this configuration "
> topic.metadata.refresh.interval.ms", but this is for producer only. Is
> there a similar config for consumer too?
>

Reply via email to