GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [improve][pip] PIP-377: Automatic retry for failed acknowledgements by lhotari · Pull Request #23267 · apache/pulsar

Conversation

@lhotari

@lhotari lhotari commented Sep 7, 2024

Copy link
Copy Markdown
Member

Motivation

In the pip-377.md file

Modifications

In the pip-377.md file

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@lhotari lhotari added the ready-to-test label Sep 7, 2024
@lhotari lhotari added this to the 4.0.0 milestone Sep 7, 2024
@lhotari lhotari self-assigned this Sep 7, 2024
@lhotari lhotari added the type/PIP label Sep 7, 2024
@github-actions github-actions Bot added PIP doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. labels Sep 7, 2024
@lhotari
[improve][pip] PIP-377: Automatic retry for failed acknowledgements
f2649a5
@lhotari
lhotari force-pushed the lh-pip-377-autoRetryAcknowledgement branch from 038e640 to f2649a5 Compare September 7, 2024 08:59
@lhotari lhotari mentioned this pull request Sep 7, 2024
[Bug] When ack receipts are enabled, no response is sent to the client if the topic has been unloaded or is being transferred #23261
Closed
2 of 3 tasks
@lhotari
Add discussion thread link
9d74672
This was referenced Sep 7, 2024
[Bug] Acknowledgements lost on bookies and brokers restart resulting in messages not being delivered #22709
Closed
[Bug] Msg backlog & unack msg remains when using acknowledgeAsync #21958
Open
[Bug] The javadoc of ConsumerBuilder.isAckReceiptEnabled is not consistent, it references ack timeout and redelivery which isn't related to ack receipt #23249
Closed
@lhotari
Add paragraph about alternative solution considerations
aa43233
@aloyszhang

aloyszhang commented Sep 12, 2024

Copy link
Copy Markdown
Contributor

Is there a precise step to reproduce the acknowledgment lost?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lhotari

lhotari commented Sep 12, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

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).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lhotari lhotari modified the milestones: 4.0.0, 4.1.0 Oct 11, 2024
@lhotari lhotari added the release/4.0.1 label Oct 11, 2024
@lhotari lhotari added release/4.0.2 and removed release/4.0.1 labels Dec 6, 2024
@lhotari lhotari added release/4.0.3 and removed release/4.0.2 labels Jan 6, 2025
@lhotari lhotari added release/4.0.4 and removed release/4.0.3 labels Feb 19, 2025
@lhotari lhotari added release/4.0.5 and removed release/4.0.4 labels Mar 31, 2025
@lhotari lhotari added release/4.0.6 and removed release/4.0.5 labels May 21, 2025
@lhotari lhotari added the release/4.0.7 label Jul 30, 2025
@lhotari lhotari removed the release/4.0.6 label Jul 30, 2025
@coderzc coderzc modified the milestones: 4.1.0, 4.2.0 Sep 1, 2025
@lhotari lhotari added release/4.0.8 and removed release/4.0.7 labels Sep 27, 2025
@lhotari lhotari added release/4.0.9 and removed release/4.0.8 labels Nov 11, 2025
@lhotari lhotari added release/4.0.10 and removed release/4.0.9 labels Feb 9, 2026
@lhotari lhotari added release/4.0.11 and removed release/4.0.10 labels Apr 27, 2026
@lhotari lhotari modified the milestones: 4.2.0, 4.3.0 Apr 27, 2026
@lhotari lhotari added the release/4.2.2 label Apr 27, 2026
@lhotari

lhotari commented Jun 1, 2026

Copy link
Copy Markdown
Member Author

#25525 makes this obsolete and addresses the actual issue

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lhotari lhotari closed this Jun 1, 2026
@github-project-automation github-project-automation Bot moved this to Done in Apache Pulsar / Key_Shared and Acknowledgement reliability and usability improvements Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@lhotari lhotari

Labels

doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. PIP ready-to-test release/4.0.11 release/4.2.2 type/PIP

Projects

Apache Pulsar / Key_Shared and Acknowledgement reliability and usability improvements
Status: Done

Milestone

5.0.0-M1

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@lhotari @aloyszhang @coderzc
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.