tremor-runtime icon indicating copy to clipboard operation
tremor-runtime copied to clipboard

Ability to stop/pause a pipeline instance using API

Open jemshad opened this issue 4 years ago • 1 comments
trafficstars

Describe the problem you are trying to solve

In the case of tremor having multiple onramps and multiple offramps each connected through the pipeline in a 1:1 fashion, when a particular offramp is under maintenance, we would like to have tremor stop consuming events from the corresponding onramp. This would be a clean solution rather than having tremor keep retrying on the unavailable offramp resulting to either bad metrics and/or overhead in processing the events that resulted in error.

Describe the solution you'd like

In the particular case that we are talking about, the different oramps are connected to respective offramps using the binding and mapping configurations. Effectively, each instance is consuming from a different onramp and posting messages to the corresponding offramp. If we can dynamically pause the pipeline and stop consumption from the onramp for a particular instance, that would be awesome.

Notes

jemshad avatar May 12 '21 09:05 jemshad

This is being done as part of the work on connectors.

mfelsche avatar Sep 30 '21 08:09 mfelsche

This is possible since 0.12

mfelsche avatar Sep 21 '22 07:09 mfelsche