-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Invalid version for API key FETCH: 12 #4870
Labels
Comments
Got exactly the same issue (after upgrading |
There's a problem with versions of Apache Kafka < 2.7 because they haven't got Fetch RPC version 12, used for fallback. /* Fallback to version 12 if topic id is null which can happen if
* inter.broker.protocol.version is < 2.8 */
ApiVersion =
ApiVersion > 12 && can_use_topic_ids(rkb) ? ApiVersion : 12; it should be if (ApiVersion > 12 && !can_use_topic_ids(rkb))
ApiVersion = 12; |
Closed
7 tasks
satoshiyamamoto
added a commit
to satoshiyamamoto/dotfiles
that referenced
this issue
Oct 29, 2024
6 tasks
This was referenced Nov 21, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Description
When consuming from a broker at version 2.1.1, the latest librdkafka 2.6.0 fails to connect. It logs this (with
debug: protocol
):This happens both with and without using our internal CA and self-signed certificates.
The broker logs this:
How to reproduce
confluentinc/cp-kafka:5.1.4
)confluent-kafka[schema-registry,avro]==2.6.0
and thus librdkafka 2.6.0)Downgrade to 2.5.3 and all will go smoothly.
Checklist
Please provide the following information:
2.6.0
2.1.1
{'auto.commit.interval.ms': 10, 'bootstrap.servers': 'PLAINTEXT://kafka-1:19091,PLAINTEXT://kafka-2:19092,PLAINTEXT://kafka-3:19093', 'client.id': 'a-client-id', 'group.id': 'random', 'enable.auto.offset.store': False, 'auto.offset.reset': 'earliest', 'enable.auto.commit': True, 'debug': 'protocol', 'socket.nagle.disable': True, 'enable.partition.eof': False}
Ubuntu
debug=..
as necessary) from librdkafkaThe text was updated successfully, but these errors were encountered: