Open flowchartsman opened 1 year ago
Use the transported DLQ/retry settings to bring the go functions in-line with the java ones
Can you clarify this point @flowchartsman? What specific feature is missing in the go sdk? From what I see, there is only the option to configure the max message retires and the DLQ topic. This is true for all function SDKs and is represented by this proto def:
That are represented in the go instance config:
Thanks!
Sorry, what I mean to say is that it is not enabled client-side and that, while the settings may be transported correctly, there is an explicit check that forbids go functions attempting to use retry. Which is odd, considering that it's client-side.
The issue had no activity for 30 days, mark with Stale label.
Just a quick hup to keep this from going stale, as I plan to create a PR for this feature in the coming weeks, and even have a preliminary implementation. Just need some more time and have a couple nagging bugs to fix.
The issue had no activity for 30 days, mark with Stale label.
Search before asking
Motivation
Go Functions do not support message retry or DLQ settings. Since the client has support for these and since they are already transported to the runtime, this should be a no-brainer.
Solution
Use the transported DLQ/retry settings to bring the go functions in-line with the java ones
Alternatives
The only alternative at this time is to detect retries automatically by inspecting messages manually and using the (not so great)
context.NewOutputMessage
API to manually to dispatch messages to the retry or DLQ topics.Anything else?
No response
Are you willing to submit a PR?