Reputation: 127
I've been evaluating Spring XD for a major project and I'm wondering how to update module code with zero downtime.
It seems that, for updating a module, it first needs to be deleted. And deleting a module implies destroying streams.
Several ideas comes to my mind on how to do this with zero downtime (like rerouting a stream to a queue). Any other ideas, ways or solutions?
Upvotes: 0
Views: 75
Reputation: 26
I had the same problem as yours, and one way to approach it is to use versioning in your module name - in the same way you use versioning for your jar file name. That way you can try a newer version of your module without removing the old one, and remove the old one (if you want) once you deploy and test your new stream.
Upvotes: 1