Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring Kafka, overriding max.poll.interval.ms?

I need to increase max.poll.interval.ms default value of 300000 to a greater value, due to. timeout exceptions.

However I am unable to find the property (autocomplete) in application.properties to override it. Am I missing something out? Or I'm just using an old version of Spring Kafka (2.1.10)

max.poll.interval.ms = 300000
max.poll.records     = 500
like image 556
UnguruBulan Avatar asked Oct 24 '25 19:10

UnguruBulan


1 Answers

spring.kafka.consumer.properties.max.poll.interval.ms=20000000

It worked

like image 195
UnguruBulan Avatar answered Oct 26 '25 08:10

UnguruBulan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!