Kafka client says the node does not support telemetry subscriptions
Your error
org.apache.kafka.common.errors.UnsupportedVersionException: The node does not support GET_TELEMETRY_SUBSCRIPTIONS1 more line it can showFix it fast
Most common cause, 1 of 3The broker is older than Kafka 3.7 (or Confluent Platform 7.7)
Your producers and consumers keep working, so there is nothing to repair.
# client.properties (producer, consumer or admin)
enable.metrics.push=falseShort answer
UnsupportedVersionException: The node does not support GET_TELEMETRY_SUBSCRIPTIONS comes from KIP-714 client metrics in Kafka Java clients 3.7.0 and later. The broker does not offer that API: it is older than 3.7, runs on ZooKeeper, or has no client-telemetry plugin. The line is DEBUG noise. Set enable.metrics.push=false on the client to stop it.
Which cause do you have?
Ask every broker which APIs it advertises, using the Kafka 4.4 tools. UNSUPPORTED next to the telemetry entries proves the client read the broker correctly. The broker's version and its mode (ZooKeeper or KRaft) then tell you which cause you have. Older bundles ship kafka-broker-api-versions.sh, which 4.4 marks as deprecated in favour of this command.
bin/kafka-cluster.sh api-versions --bootstrap-server broker1:9092 | grep -i telemetryThen find the line you see in this list and open its fix:
- 1The broker is older than Kafka 3.7 (or Confluent Platform 7.7)
The telemetry entries read UNSUPPORTED and the cluster runs Apache Kafka 3.6 or earlier, or Confluent Platform 7.6 or earlier - 2The broker is 3.7 or newer but still runs on ZooKeeper
server.properties has zookeeper.connect and no process.roles line - 3A KRaft broker with no client-telemetry plugin configured
process.roles is set, the version is 3.7 or later, and metric.reporters holds only the default JmxReporter
What does the error look like?
org.apache.kafka.common.errors.UnsupportedVersionException: The node does not support GET_TELEMETRY_SUBSCRIPTIONSDEBUG The broker generated an error for the get telemetry network API request (org.apache.kafka.common.telemetry.internals.ClientTelemetryReporter)
Cause 1 of 3
The broker is older than Kafka 3.7 (or Confluent Platform 7.7)
You seeThe telemetry entries read UNSUPPORTED and the cluster runs Apache Kafka 3.6 or earlier, or Confluent Platform 7.6 or earlier
Check
UnsupportedVersionException for GET_TELEMETRY_SUBSCRIPTIONS appears when a Java client from 3.7.0 onward talks to a broker built before KIP-714. Confluent's support article lists the affected range as Java clients 3.7.0+ against Confluent Platform before 7.7.0, and notes the line is printed at DEBUG level.
bin/kafka-cluster.sh api-versions --bootstrap-server broker1:9092 | grep -i -c unsupportedFix
Your producers and consumers keep working, so there is nothing to repair. In the 4.4.0 client, the telemetry reporter skips its warning for this exception and stops requesting subscriptions. To remove the log line, switch off metrics push in the client config. To use client metrics, upgrade the brokers instead.
# client.properties (producer, consumer or admin)
enable.metrics.push=falseVerify
Restart the client with the same log level. The GET_TELEMETRY_SUBSCRIPTIONS line is gone and messages still flow.
grep -c GET_TELEMETRY_SUBSCRIPTIONS app.logConfirmed by support.confluent.io
Cause 2 of 3
The broker is 3.7 or newer but still runs on ZooKeeper
You seeserver.properties has zookeeper.connect and no process.roles line
Check
A 3.7+ broker that keeps its metadata in ZooKeeper still answers GET_TELEMETRY_SUBSCRIPTIONS as unsupported. KIP-714 limits the GetTelemetrySubscriptions and PushTelemetry RPCs to KRaft clusters, because the new client-metrics config resource was never added to ZooKeeper storage.
grep -E '^(zookeeper.connect|process.roles)=' config/server.propertiesFix
Turn the push off in the application until the cluster moves to KRaft. Confluent's guidance for its own platform is the same pair: 7.7 or later with KRaft enabled, or disable the push on the client.
Properties props = new Properties();
props.put("bootstrap.servers", "broker1:9092");
props.put("enable.metrics.push", "false");
KafkaProducer<String, String> producer =
new KafkaProducer<>(props, new StringSerializer(), new StringSerializer());Verify
With DEBUG logging on, the client starts without the telemetry exception and sends to the topic as before.
grep -i "get telemetry" app.logConfirmed by cwiki.apache.org
Cause 3 of 3
A KRaft broker with no client-telemetry plugin configured
You seeprocess.roles is set, the version is 3.7 or later, and metric.reporters holds only the default JmxReporter
Check
Even a current KRaft cluster can trigger GET_TELEMETRY_SUBSCRIPTIONS as unsupported. KIP-714 says a broker lists the telemetry APIs in its ApiVersions reply only when a metrics reporter with client-telemetry support is configured. Without such a plugin, clients find nothing to call and log the exception.
grep '^metric.reporters' config/server.propertiesFix
If nobody collects client metrics, leave it or set enable.metrics.push=false. If you want them, add a metrics reporter plugin with client-telemetry support to metric.reporters on every broker, then create a client-metrics subscription; KIP-714 needs both before any client pushes. On Kafka 4.2 and later, the plugin should implement ClientTelemetryExporterProvider, because the older ClientTelemetry interface is deprecated and due to go in 5.0.
bin/kafka-configs.sh --bootstrap-server broker1:9092 \
--entity-type client-metrics \
--entity-name "basic_producer_metrics" \
--alter \
--add-config "metrics=[org.apache.kafka.producer.],interval.ms=15000,match=[client_id=my-app]"Verify
After a rolling restart with the plugin, the api-versions output lists the telemetry APIs with a version range instead of UNSUPPORTED.
bin/kafka-cluster.sh api-versions --bootstrap-server broker1:9092 | grep -i telemetryConfirmed by cwiki.apache.org
How do I stop it coming back?
- Set enable.metrics.push=false in the shared client config of every service whose cluster has no telemetry plugin, so new services start quiet.
- Keep org.apache.kafka loggers at INFO in production; the telemetry messages are DEBUG and only show when that package is set lower.
- Run the api-versions command after each broker upgrade and save the output, so you know which client features the cluster really offers.
Sources
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. Every cause above names the document that confirms it. I have not reproduced this fix on a machine of my own yet, so read it as documented guidance, not a test report. Found a mistake? Tell me.
Which stack is behind this page?
Projects of mine on the same stack: Dispatch Pro.