Skip to content

Commit 84e9b76

Browse files
authored
Add GraalVM Kafka hints (#11735)
1 parent c708ab2 commit 84e9b76

File tree

2 files changed

+702
-4
lines changed
  • smoke-tests-otel-starter

2 files changed

+702
-4
lines changed

smoke-tests-otel-starter/spring-boot-3/src/main/java/io/opentelemetry/spring/smoketest/RuntimeHints.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ public void registerHints(
2424
.registerType(
2525
TypeReference.of(
2626
"org.springframework.data.mongodb.core.aggregation.AggregationOperation"),
27-
hint -> hint.withMembers(MemberCategory.INVOKE_DECLARED_CONSTRUCTORS))
28-
.registerType(
29-
TypeReference.of("org.apache.kafka.common.serialization.StringDeserializer"),
30-
hint -> hint.withMembers(MemberCategory.INVOKE_PUBLIC_CONSTRUCTORS));
27+
hint -> hint.withMembers(MemberCategory.INVOKE_DECLARED_CONSTRUCTORS));
3128
}
3229
}

0 commit comments

Comments
 (0)