Class RestartKafkaStreamsOnThreadException
- java.lang.Object
-
- io.streamthoughts.azkarra.runtime.streams.errors.RestartKafkaStreamsOnThreadException
-
- All Implemented Interfaces:
StreamThreadExceptionHandler
public class RestartKafkaStreamsOnThreadException extends Object implements StreamThreadExceptionHandler
Restarts theKafkaStreams
instance when a StreamThread abruptly terminates due to an uncaught exception.
-
-
Constructor Summary
Constructors Constructor Description RestartKafkaStreamsOnThreadException()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(KafkaStreamsContainer container, Thread streamThread, Throwable e)
Method invoked when a StreamThread abruptly terminates due to an uncaught exception.
-
-
-
Method Detail
-
handle
public void handle(KafkaStreamsContainer container, Thread streamThread, Throwable e)
Method invoked when a StreamThread abruptly terminates due to an uncaught exception.- Specified by:
handle
in interfaceStreamThreadExceptionHandler
- Parameters:
container
- the streams container.streamThread
- the thread.e
- the exception.
-
-