Skip to content

How to perform blue/green upgrade of cluster when using ttl on messages? #13208

Discussion options

You must be logged in to vote

The closest approximation I can think of is to use your own custom app that would use message header information to adjust the expiration header on the re-published messages. That said, this will complicate moving the apps over compared to queue federation, and you need to know the original publishing date and/or the delay to compute the offset.

You can also move over the apps that do not rely on message TTL, keep queue federation around for N days so that the expired messages on the Blue side are moved to the Green by queue federation.
Therefore avoiding moving messages in the "delay" queues but hooking up all others with to the new cluster with queue federation. Then expiration will hap…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@michaelklishin
Comment options

Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants