I start wolff producers during the app initialization with wolff:ensure_supervised_producers/3, but it fails if my kafka server is unavailable. I need to start them anyway so they will queue messages via replayq and replay the messages when connection will be established, just like when connection to kafka lost after app start.
Is there any way to achieve this with wolff?
I see that in previous versions producers were kept running after initial connection failure, but this commit e45b4ed changed this behavior, and I don't fully understand why.
I start
wolffproducers during the app initialization withwolff:ensure_supervised_producers/3, but it fails if my kafka server is unavailable. I need to start them anyway so they will queue messages viareplayqand replay the messages when connection will be established, just like when connection to kafka lost after app start.Is there any way to achieve this with
wolff?I see that in previous versions producers were kept running after initial connection failure, but this commit e45b4ed changed this behavior, and I don't fully understand why.