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: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@michaelklishin
Comment options

Answer selected by michaelklishin
@jtim08515
Comment options

@michaelklishin
Comment options

Comment options

You must be logged in to vote
3 replies
@jtim08515
Comment options

@ansd
Comment options

ansd Feb 6, 2025
Maintainer

@michaelklishin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants