-
Notifications
You must be signed in to change notification settings - Fork 516
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
BREAKING: feat: get queued outbound message in transport handle message #2170
BREAKING: feat: get queued outbound message in transport handle message #2170
Conversation
This will enable queues to annotate outbound messages with relevant context for things like dead letter queues that know which wallet sent the message that failed. Signed-off-by: Daniel Bluhm <[email protected]>
@dbluhm -- is this a "hold 0.8.0 release until this is in", or is it OK to wait for the next release? |
This can wait (sorry for the slow response and glad you didn't wait on me lol) |
Kudos, SonarCloud Quality Gate passed! |
@swcurran I'd like to see this PR merged but I think the breaking change status has scared us away from merging so far 😅 To reiterate, this breaking change affects only message queue plugins and will not affect deployments not using these plugins. For message queue plugins, the required modifications should be pretty minimal; we have a branch for the Kafka plugin already that incorporates this change. Updating the Redis plugin should be pretty trivial. |
@dbluhm -- shall we merge this one next? @usingtechnology, @Jsyro, @shaangill025 -- who is the best to coordinate what changes need to be made to the plugins for Redis once this is merged. |
Kudos, SonarCloud Quality Gate passed! |
i guess it will depend on workloads. if @shaangill025 is busy, i could probably jump in and tackle it. do we know if the redis queue plugin is in production anywhere? |
It is being used in BCGov by at least the Mediator dev/test. It may be in use in the prod instance as well. |
Please do. We’re pushing on getting a bunch of merges done now that we have 0.8.2 out the door. |
I think the changes in Redis plugin to work with this PR will involve the following:
Also adding |
This updates to align with changes made upstream in: openwallet-foundation/acapy#2170 Signed-off-by: Daniel Bluhm <[email protected]>
This updates to align with changes made upstream in: openwallet-foundation/acapy#2170 Signed-off-by: Daniel Bluhm <[email protected]>
As @shaangill025 outlined, changes were pretty minimal so I went ahead and opened a PR with those changes over there. |
A little unclear to me: are there external dependencies blocking this PR specifically or can we go ahead and merge? |
No. We’ll merge. We are also going to do a tag on the Redis plugin on the commit before merging this one to point out the breaking change. |
This will enable queues to annotate outbound messages with relevant context for things like dead letter queues that know which wallet sent the message that failed, what message was being sent, etc.
This is a breaking change for plugins adding queue implementations (cc @shaangill025) but we think this is worthwhile for the ability to improve internal error handling.