How to keep Streams working after deployment swap in production?

Say in a blue/green deployment pattern, when you swap apps, is there a common practice to keep Streams working smoothly and seamlessly? They will need to disconnect from the old and reconnect to the new deployment correct? How is this done? Thanks.