Migrate to StreamsUncaughtExceptionHandler
ProprietaryMigrates handlers passed to the deprecated KafkaStreams#setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) to the StreamsUncaughtExceptionHandler introduced in Kafka Streams 2.8. Anonymous classes, lambdas and named classes are converted, each returning SHUTDOWN_CLIENT; a named class that is also used as a JVM Thread.UncaughtExceptionHandler is left alone.
io. moderne. kafka. streams. MigrateStreamsUncaughtExceptionHandlermod run . --recipe= io. moderne. kafka. streams. MigrateStreamsUncaughtExceptionHandlerInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.