restatedev / restate

Restate is the platform for building resilient applications that tolerate all infrastructure faults w/o the need for a PhD.
https://docs.restate.dev
Other
1.59k stars 36 forks source link

Shutting down consumer task hangs for some time when kafka is unreacheable #811

Open slinkydeveloper opened 1 year ago

slinkydeveloper commented 1 year ago

This is an upstream bug: https://github.com/fede1024/rust-rdkafka/issues/611

slinkydeveloper commented 1 year ago

Unfortunately I only have 3 workarounds in my mind:

slinkydeveloper commented 1 year ago

A fourth alternative could be the following:

slinkydeveloper commented 1 year ago

While trying to go with the fourth alternative, I hit this other bug https://github.com/fede1024/rust-rdkafka/issues/597#issuecomment-1733828914. WIP: https://github.com/slinkydeveloper/restate/tree/shutdown_kafka