--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platf...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/c212d921-9095-4e98-8098-5831ac4cddf5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,you can set retries to Integer.MAX_VALUEand max.block.ms to Long.MAX_VALUEThis will mean that it will effectively retry forever. Of course you probably want to have some monitoring in place so that you know when it is blocked on this.
On Fri, 13 Apr 2018 at 16:49 Chris Stromberger <chris.st...@gmail.com> wrote:
It's intermittent, but we're seeing it every 12 hrs or so. However there is some kind of maintenance going on in the cluster, so maybe that's the issue. I know the bootstrap server config is correct. The producer will be humming along for hours, then hit this for a few minutes, then will keep going.If this is due to cluster issues, is there a way to configure the producer to defend against losing messages in cases like this of cluster hiccups?--
On Friday, April 13, 2018 at 9:01:12 AM UTC-5, Andy Coates wrote:Hey Chris,Normally, when you see batch timeouts 'while requesting metadata' it means either the producer if badly configured, (e.g. bootstrap.servers is wrong), there's a network partition or ACL stopping the producer talk to the cluster, or their is an issue with the cluster, (or just a single broker).Is this a constant issue or intermittent?
On Friday, April 13, 2018 at 2:35:11 PM UTC+1, Chris Stromberger wrote:Seeing this in logs from my producer in a Java application. Just wondering if this is symptomatic of producer not being configured correctly. We have retries set (to 1000) and retry.backoff.ms set (to 1000). Not sure how to defend against this type of error and avoid losing messages. Any tips appreciated.Thanks,Chris
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
Chris
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/c212d921-9095-4e98-8098-5831ac4cddf5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/c6bf053d-c95d-4ac3-a579-6851b23b30d9%40googlegroups.com.--
You received this message because you are subscribed to a topic in the Google Groups "Confluent Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/confluent-platform/7h2ByKkJ_Xo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
Chris
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/c212d921-9095-4e98-8098-5831ac4cddf5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Confluent Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/confluent-platform/7h2ByKkJ_Xo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.