You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
STATUS_STOPPED - the pipeline gracefully stopped, any in-flight records were flushed, acks were delivered back to the source, no error was encountered while stopping the pipeline.
STATUS_DEGRADED - an error caused the pipeline to stop. Any in-flight records were dropped, not all acks might have been delivered back to the source. Starting a degraded pipeline again could potentially result in duplicated data (depending on how the destination connector handles records), since some data might get re-delivered.
So given that force stopping a pipeline results in the second behavior (i.e. nodes stop immediately without flushing in-flight records) I'm not sure it would be correct to set the pipeline to "stopped".
@lovromazgon Good point. I think it's important to make this distinction between gracefully stopped vs not. This is being documented on ConduitIO/conduit-site#168.
Feature description
When a user tries to force stop a pipeline, the result is that the status of the pipeline ends up being
degraded
and notstopped
.I think it would make sense that it's stopped instead.
Steps to reproduce
curl -X POST localhost:8080/v1/pipelines/my-pipeline/stop -d '{"force": true}'
curl 'http://localhost:8080/v1/pipelines/my-pipeline' | jq .state.status
Expected
Actual
The text was updated successfully, but these errors were encountered: