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

Update definitions.json redelivered-> delivered #610

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

alexbozhenko
Copy link
Contributor

@alexbozhenko alexbozhenko commented Jan 13, 2025

@@ -725,7 +725,7 @@
},
"max_deliver": {
"$ref": "#/definitions/golang_int",
"description": "The number of times a message will be redelivered to consumers if not acknowledged in time",
"description": "The number of times a message will be delivered to consumers if not acknowledged in time",
Copy link
Contributor Author

@alexbozhenko alexbozhenko Jan 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ripienaar
Or should it include the full, more complete, paragraph from the docs?
https://docs.nats.io/nats-concepts/jetstream/consumers#general

The maximum number of times a specific message delivery will be attempted. Applies to any message that is re-sent due to acknowledgment policy (i.e., due to a negative acknowledgment or no acknowledgment sent by the client). The default is -1 (redeliver until acknowledged). Messages that have reached the maximum delivery count will stay in the stream.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah redelivered is the wrong term, we should rewrite the cases where max_deliver is stated in these terms to be clearer

@ripienaar ripienaar merged commit 9085607 into nats-io:main Jan 21, 2025
2 checks passed
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.

2 participants