Project: springxd
Issue XD-3099: Spike: Support graceful shutdown of modules in a stream
As a user, I'd like to have the option to gracefully shutdown the stream, so when it is _undeployed_ while in the middle of its operation, we would want to complete its journey to the sink before XD stops the stream. *Use case:* One of the streams has a custom module that performs archive extraction. When this stream is ‘undeployed’ while in the middle of extraction, It looks like the message goes to the DLQ. However we would like the message to complete its journey to the sink of the queue before xd stops the stream. Is this possible?
Story points: 8