In the event of an error occurring in one of the pipelines (for example, an error during a retry in output plugins), it is important to implement a graceful shutdown of all pipelines.
This approach ensures that all offsets are committed to prevent data doubles.