You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Mark Anderson <ma...@gmail.com> on 2019/03/11 16:25:08 UTC

Invalid metadata error on produce request + metadata update

Hi all,

I've a question regarding the following warning when sending data

"Received invalid metadata error in produce request on partition topic-3
due to org.apache.kafka.common.errors.NetworkException: The server
disconnected before a response was received.. Going to request metadata
update now "

In this context was does "now" mean with regards to requesting the metadata
update?

I've seen this warning repeat for the same topic across a couple of seconds
so I'm assuming the metadata update request is not synchronous.

When will the metadata update occur? On a fixed schedule? The next time
Producer.send is called for the same topic and partition? Or does something
else trigger it?

Thanks,
Mark