getsentry / arroyo

A library to build streaming applications that consume from and produce to Kafka.
https://getsentry.github.io/arroyo/
Apache License 2.0
39 stars 6 forks source link

feat: Add global shutdown handler for strategy factory #278

Closed untitaker closed 10 months ago

untitaker commented 10 months ago

In sentry's unified consumers, there is no place to register a global shutdown handler. Add this to arroyo directly in order to standardize it, though technically there's no use for such a shutdown outside of unified consumers since in other scenarios, the user manages the lifecycle of the application themselves.

related to https://github.com/getsentry/arroyo/pull/277