Skip to content

feat: end to end wiring for per message nack - #231

Merged
vaibhavtiwari33 merged 9 commits into
mainfrom
per-msg-nack
Jul 3, 2026
Merged

feat: end to end wiring for per message nack#231
vaibhavtiwari33 merged 9 commits into
mainfrom
per-msg-nack

Conversation

@vaibhavtiwari33

Copy link
Copy Markdown
Contributor

Closes #219

Signed-off-by: Vaibhav Tiwari <vaibhav.tiwari33@gmail.com>
Signed-off-by: Vaibhav Tiwari <vaibhav.tiwari33@gmail.com>
Signed-off-by: Vaibhav Tiwari <vaibhav.tiwari33@gmail.com>
Thread NackOptions from the incoming proto NackRequest through to the
user-facing NackRequest interface so source implementations can inspect
per-message redelivery options (delay, max deliveries, reason).

Signed-off-by: Vaibhav Tiwari <vaibhav.tiwari33@gmail.com>
Signed-off-by: Vaibhav Tiwari <vaibhav.tiwari33@gmail.com>
Adds NACK sentinel tag, MessageToNack constructor, NackOptions field+getter
to batchmapper.Message, and emits nack_options in the dispatch loop so
per-message nack metadata flows through to the proto response.

Signed-off-by: Vaibhav Tiwari <vaibhav.tiwari33@gmail.com>
Signed-off-by: Vaibhav Tiwari <vaibhav.tiwari33@gmail.com>
Signed-off-by: Vaibhav Tiwari <vaibhav.tiwari33@gmail.com>
@vaibhavtiwari33 vaibhavtiwari33 changed the title Per msg nack feat: end to end wiring for per message nack Jun 22, 2026
@vaibhavtiwari33 vaibhavtiwari33 self-assigned this Jun 22, 2026
@vaibhavtiwari33 vaibhavtiwari33 added the enhancement New feature or request label Jun 22, 2026
@vaibhavtiwari33
vaibhavtiwari33 requested review from syayi and yhl25 June 25, 2026 14:55
@vaibhavtiwari33
vaibhavtiwari33 marked this pull request as ready for review June 29, 2026 16:10
Signed-off-by: Vaibhav Tiwari <vaibhav.tiwari33@gmail.com>

@yhl25 yhl25 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please update the examples in a follow-up PR.

@vaibhavtiwari33
vaibhavtiwari33 merged commit a8d87fb into main Jul 3, 2026
3 of 4 checks passed
@vaibhavtiwari33
vaibhavtiwari33 deleted the per-msg-nack branch July 3, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Per-Message Nack Support for Golang SDK

2 participants