Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] when open batchIndexAckEnabled and acknowledgmentAtBatchIndexLevelEnabled ack wrong #23840

Open
2 of 3 tasks
liusx73 opened this issue Jan 10, 2025 · 1 comment
Open
2 of 3 tasks
Labels
type/bug The PR fixed a bug or issue reported a bug

Comments

@liusx73
Copy link

liusx73 commented Jan 10, 2025

Search before asking

  • I searched in the issues and found nothing similar.

Read release policy

  • I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.

Version

4.0.1

Minimal reproduce step

  1. set batchIndexAckEnabled=true in client
  2. set acknowledgmentAtBatchIndexLevelEnabled=true in server
  3. set a counter, ack count % 2 == 1, nack other;
  4. send message
  5. after consuming a few more, force it to stop
  6. reconsuming

What did you expect to see?

Denied and unconsumed items can be consumed again. Confirmed, no need to consume again

What did you see instead?

screenshot_2025-01-10_21-00-20
screenshot_2025-01-10_21-02-09
the keyword 'a33' 'a35' 'a37' 'a39' 'a41' 'a44' 'a46' 'a48' is missing

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@liusx73 liusx73 added the type/bug The PR fixed a bug or issue reported a bug label Jan 10, 2025
@falser101
Copy link
Contributor

could you provide your code? @liusx73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

No branches or pull requests

2 participants