pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

[improve][pip] PIP-377: Automatic retry for failed acknowledgements

Open lhotari opened this issue 1 year ago • 2 comments

Motivation

In the pip-377.md file

Modifications

In the pip-377.md file

Documentation

  • [x] doc
  • [ ] doc-required
  • [ ] doc-not-needed
  • [ ] doc-complete

lhotari avatar Sep 07 '24 08:09 lhotari

Is there a precise step to reproduce the acknowledgment lost?

aloyszhang avatar Sep 12 '24 07:09 aloyszhang

Is there a precise step to reproduce the acknowledgment lost?

@aloyszhang not yet, there's #22709 and #21958 where it seems that acks get lost.

One possible way that acks could get lost is due to the issue described in #23200 where the number of ack holes exceeds the default limit of 10000. If the the consumer gets reconnected at this time (client connection breaks or due to load balancing event), acks would get lost. There was a previous attempt to limit the number of ack holes with PIP-299. The problem is that it won't prevent exceeding the limit. The problem described in #23200 is addressed with #23231 (which I'm currently working on).

lhotari avatar Sep 12 '24 09:09 lhotari