Re: Random continuous TimeoutException with Topic not present on one KafkaProducer out of many in multithreaded env
Hi Deepak,
So, if you change the value in max.block.ms to default 1 minute, does the
timeout exception still exist?
I think the timeoutException is complaining the 250ms is not a good
configuration for your environment.
Thank you.
Luke
On Tue, Jun 7, 2022 at 11:23 AM Deepak Jain < deepak.jain@cumulus-systems.com >
wrote:
> Hi,
>
> Thanks for the quick reply.
>
> We are already using the config max.block.ms (alongwith with other
> recommended config like request.timeout.ms and others). Although the
> value we are using is very less at 250 ms but since we have 5 different
> KafkaProducer running in each individual thread out of which 4 are working
> without any issue and only 1 is throwing the TimeOutException, so this does
> not seems to be the issue,
>
> Please else us know if anybody had came across this type of behaviour by
> Kafka. If yes, please help in finding out the root cause and resolving it.
>
...