You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with KIP-896: it's planned that older
RPC versions. When connecting to such broker, librdkafka deactivates most features because the maximum version is almost always the same as the minimum version and corresponds to a version being removed.
How to reproduce
In rd_kafka_broker_set_api_versions can be overridden this way:
size_ti;
for (i=0; i<api_cnt; i++) {
if (apis[i].ApiKey==RD_KAFKAP_Produce)
apis[i].MinVer=8;
if (apis[i].ApiKey==RD_KAFKAP_ApiVersion)
apis[i].MinVer=2;
if (apis[i].ApiKey==RD_KAFKAP_FindCoordinator)
apis[i].MinVer=1;
if (apis[i].ApiKey==RD_KAFKAP_JoinGroup) {
apis[i].MinVer=-2;
apis[i].MaxVer=-2;
}
if (apis[i].ApiKey==RD_KAFKAP_SaslHandshake)
apis[i].MinVer=2;
if (apis[i].ApiKey==RD_KAFKAP_InitProducerId)
apis[i].MinVer=1;
if (apis[i].ApiKey==RD_KAFKAP_ListOffsets)
apis[i].MinVer=1;
}
by comparing it to KIP 896 removed versions (non-baseline), all versions described in the KIP can be removed except for JoinGroup v0 because it disables the feature RD_KAFKA_FEATURE_BROKER_BALANCED_CONSUMER that isn't used in the code but it's public and users can detect it to decide if they can call subscribe or assign manually (even though it seems uncommon that an application supports both cases).
Checklist
Please provide the following information:
librdkafka version (release number or git tag): v1.x+ up to latest
Apache Kafka version: <REPLACE with e.g., 0.10.2.3>
librdkafka client configuration: any
Operating system: any
Provide logs (with debug=.. as necessary) from librdkafka
Provide broker log excerpts
Critical issue
The text was updated successfully, but these errors were encountered:
Description
with KIP-896: it's planned that older
RPC versions. When connecting to such broker, librdkafka deactivates most features because the maximum version is almost always the same as the minimum version and corresponds to a version being removed.
How to reproduce
In
rd_kafka_broker_set_api_versions
can be overridden this way:It happens that all features are disabled.
test_minver_increased.log
Minimum required MinVer values are currently:
by comparing it to KIP 896 removed versions (non-baseline), all versions described in the KIP can be removed except for JoinGroup v0 because it disables the feature RD_KAFKA_FEATURE_BROKER_BALANCED_CONSUMER that isn't used in the code but it's public and users can detect it to decide if they can call subscribe or assign manually (even though it seems uncommon that an application supports both cases).
Checklist
Please provide the following information:
<REPLACE with e.g., 0.10.2.3>
debug=..
as necessary) from librdkafkaThe text was updated successfully, but these errors were encountered: