Closed bainian12345 closed 1 year ago
Should this PR be targeting hotfix rather than main?
- Added mechanism to skip processing aborted and already processed deliveries sent to a ReceivingAmqpLink.
I assume that the implication here is that non-aborted/processed deliveries will be redelivered to receivers? Is there anything we need to do from the SB SDK perspective here or will it be automatic when reconnecting to the AmqpLinkTerminus?
How is message locking going to fit in here? Are there going to be service side changes to disregard lock expiration when this feature is enabled?
There will of course be a major change from the service side as well. Lock will still expire (it's not practical to hold the message in memory forever), we will still give it a hard cap from the service side. Not sure if this answer your question?
In reply to: 981945704
From the SDK perspective, it would still need to ensure a reconnect attempt is made to the cloud service, as this library on its own has no reconnect capabilities. This PR just handles the AMQP details on negotiating which messages should be redelivered between the service and client.
In reply to: 981338624
Why is that?
In reply to: 977570107
all of the latest versions are shipped out of hotfix. Main contains a bunch of breaking changes that have not shipped.
@xinchen10 are you able to review this PR?
General comments on high level design.
Replaced by #230
Enable link recovery for this AMQP client. Below are the major changes made to enable this feature:
To properly test the changes mentioned above, new tests and mock broker changes were added:
Note: