You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failed messages 1 with no more exception message #12510
@Aaronzk There is an internal pending queue with 1000 messages by default for a producer. if the server-side with a slow response but the application send messages very fast that will fill up the pending queue, so by default, you will get the above exception, it's a fail-fast strategy.
Another available strategy is to block the caller thread if the pending queue filled up, you can add .blockIfQueueFull(true) when creating the producer.
Activity
codelipenghui commentedon Nov 6, 2021
@Aaronzk There is an internal pending queue with 1000 messages by default for a producer. if the server-side with a slow response but the application send messages very fast that will fill up the pending queue, so by default, you will get the above exception, it's a fail-fast strategy.
Another available strategy is to block the caller thread if the pending queue filled up, you can add
.blockIfQueueFull(true)when creating the producer.Aaronzk commentedon Nov 26, 2021
@codelipenghui
why not set
blockIfQueueFull(true)as default?github-actions commentedon Feb 27, 2022
The issue had no activity for 30 days, mark with Stale label.