streamiz icon indicating copy to clipboard operation
streamiz copied to clipboard

How to crash on failure?

Open njlr opened this issue 4 months ago • 1 comments

When I reach this state:

fail: Streamiz.Kafka.Net.Processors.StreamStateManager[0] All stream threads have died. The instance will be in error state and should be closed

I would like the program to crash.

I start the program with stream.StartAsync()

Is there an equivalent like stream.WaitForEndAsync()?

njlr avatar Aug 13 '25 08:08 njlr

You can configure your InnerExceptionHandler to kill your app by yourself.

config.InnerExceptionHandler

LGouellec avatar Oct 14 '25 22:10 LGouellec