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 confirmed ack Go example #266

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Improve confirmed ack Go example #266

merged 1 commit into from
Sep 26, 2024

Conversation

Jarema
Copy link
Contributor

@Jarema Jarema commented Sep 25, 2024

The previous version had few things that could be improved:

  1. Unnecessary details on stream, which are outlined in stream examples.
  2. Explicitly handling errors, while other examples ignore them for easier readability.
  3. Example was not fetching fresh info, which then printed that the ack was not yet processed, which was not true.
  4. Added more explanation on difference between ack and confirmed ack.

Signed-off-by: Tomasz Pietrek [email protected]

The previous version had few things that could be improved:
1. Unnecessary details on stream, which are outlined in stream examples.
2. Explicitly handling errors, while other examples ignore them for
   easier readability.
3. Example was not fetching fresh info, which then printed that the ack
   was not yet processed, which was not true.
4. Added more explanation on difference between ack and confirmed ack.

Signed-off-by: Tomasz Pietrek <[email protected]>
@Jarema Jarema requested a review from scottf September 25, 2024 10:22
Copy link

Deploy preview for nats-by-example ready!

✅ Preview
https://nats-by-example-68crvm1f9-connecteverything.vercel.app

Built with commit 798bf0c.
This pull request is being automatically deployed with vercel-action

Copy link
Collaborator

@scottf scottf left a comment

Choose a reason for hiding this comment

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

LGTM

@scottf scottf merged commit fba6623 into main Sep 26, 2024
1 check passed
@scottf scottf deleted the improve-ack-ack branch September 26, 2024 10:17
@Jarema Jarema restored the improve-ack-ack branch October 24, 2024 12:56
@alexbozhenko alexbozhenko deleted the improve-ack-ack branch January 15, 2025 21:30
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