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:
Soby Chacko
2025-03-12 11:45:08 -04:00
parent c58e1c3b37
commit 01fb025714

View File

@@ -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)));
}