GH-3787: Add native runtime hint for LogAndFailProcessingExceptionHandler
Fixes: #3787 Issue link: https://github.com/spring-projects/spring-kafka/issues/3787 **Auto-cherry-pick to `3.3.x`** Signed-off-by: Soby Chacko <soby.chacko@broadcom.com>
This commit is contained in:
@@ -144,8 +144,7 @@ public class KafkaRuntimeHints implements RuntimeHintsRegistrar {
|
||||
"sun.security.provider.ConfigFile",
|
||||
"org.apache.kafka.streams.processor.internals.assignment.StickyTaskAssignor",
|
||||
"org.apache.kafka.streams.processor.internals.assignment.FallbackPriorTaskAssignor",
|
||||
"org.apache.kafka.streams.state.BuiltInDslStoreSuppliers$RocksDBDslStoreSuppliers",
|
||||
"org.apache.kafka.streams.state.BuiltInDslStoreSuppliers$InMemoryDslStoreSuppliers")
|
||||
"org.apache.kafka.streams.errors.LogAndFailProcessingExceptionHandler")
|
||||
.forEach(type -> reflectionHints.registerTypeIfPresent(classLoader, type, builder ->
|
||||
builder.withMembers(MemberCategory.INVOKE_PUBLIC_CONSTRUCTORS)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user