Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.3.0
-
None
Description
Kafka Streams expects a version resource at /kafka/kafka-streams-version.properties. It is read by ClientMetrics, initialised by
When the resource is not found,
logs a warning at startup:
org.apache.kafka.streams.internals.metrics.ClientMetrics <clinit> WARN: Error while loading kafka-streams-version.properties
java.lang.NullPointerException: inStream parameter is null
at java.base/java.util.Objects.requireNonNull(Objects.java:233)
at java.base/java.util.Properties.load(Properties.java:407)
at org.apache.kafka.streams.internals.metrics.ClientMetrics.<clinit>(ClientMetrics.java:53)
at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:894)
at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:856)
at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:826)
at org.apache.kafka.streams.KafkaStreams.<init>(KafkaStreams.java:738)
Attachments
Issue Links
- links to