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

Add note about Java sdk 2.x dlq has a default 30s ackTimeout policy #985

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

geniusjoe
Copy link
Contributor

✅ Contribution Checklist

Motivation

Add a 30s ackTimeout when using dlq policy: apache/pulsar#3014
Remove this 30s ackTimeout: apache/pulsar#19486
Relative apache/pulsar#8484 apache/pulsar#19134

When we are using a Java sdk from 2.3.x to 2.10.x to create a subscription with dlq policy, the subscription will create a 30s ackTimeout policy automatically. This strategy may lead to consuming duplicate messages especially in some long time cost tasks.
According to the comment apache/pulsar#8484 (comment), I think maybe we can add a hint about this 30s ackTimeout policy in concepts-messaging.md dlq section.

Modification

Current
image

Preview
image

@geniusjoe
Copy link
Contributor Author

Hello @codelipenghui, would you mind review this pr? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant