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

Improve Documentation: State on OOO-Commits page that AsyncAcks cannot be combined with nack() #2905

Merged

Conversation

powibol
Copy link
Contributor

@powibol powibol commented Nov 17, 2023

This PR adds a note to the documentation page about asyncAck stating that it cannot be combined with Acknowledgment.nack().

It was discussed in issue #2410, that Acknowledgment.nack() cannot be used when asyncAck set to true.
This was ensured with : Disallow nack() with Out of Order Commits.
It was also documented at several places, e.g., with this commit: : Disallow nack() with Out of Order Commits.

However, it is not mentioned on the documentation page about out-of-order commits and asyncAcks that this cannot be combined with nack(). This note is important, because if a user plans to set asyncAcks to true, he should be made aware that Acknowledgment.nack() must not be used.

This note would have saved us some time. It would be great to see it added to the documentation.

@powibol powibol changed the title Improve Documentation: State on OOO-Commits page that it AsyncAcks cannot be combined with nack() Improve Documentation: State on OOO-Commits page that AsyncAcks cannot be combined with nack() Nov 17, 2023
@garyrussell garyrussell merged commit 772d0ae into spring-projects:main Nov 20, 2023
1 check passed
@garyrussell garyrussell added this to the 3.1.0 milestone Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants