caas-team/sparrow

Feature: Shutdown for loaders

puffitos opened this issue · 0 comments

Is there an existing feature request for this?

  • I have searched the existing issues

Problem Description

To harmonize the component interfaces of the sparrow and allow for graceful shutdowns, all components should have a shutdown routine integrated.

Solution Description

Add a Shutdown(ctx) error function to the Loader interface and implement it.

Who can address the issue?

Everyone
cc @lvlcn-t

Additional Context

Low level priority task. This is only needed to have a more standardized way of how all sparrow components work. The sparrow should be responsible for shutting down its components, if needed, and the components should always just keep on running as long as they can.