Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of compatibility between librdkafka and Broker versions

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you the example analysis of the compatibility of librdkafka and Broker versions, which is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

Since the release of version 0.8.0.0.0, librdkafka supports all released versions of Apache Kafka broker, but not all syntax attributes are accepted by broker because

Some syntax features depend on the specific implementation of broker

Current default configuration:

Api.version.request=true

Broker.version.fallback=0.9.0.0

Api.version.fallback.ms=0 (never revert to broker.version.fallback)

Configure librdkafka specifically according to the version of broker used in the field

Broker version > = 0.10.0.0 (or trunk)

You no longer need to configure api.version related parameters for librdkafka > = v1.0.0

For librdkafka < v1.0.0, you need to specify the following configuration:

Api.version.request=true

Api.version.fallback.ms=0

Broker versions 0.9.0.x

Api.version.request=false

Broker.version.fallback=0.9.0.x (the exact 0.9.0. Version you are using)

Broker versions 0.8.x.y

Api.version.request=false

Broker.version.fallback=0.8.x.y (your exact 0.8... Broker version)

Detailed description

Apache Kafka supports KIP-35 in version 0.10.0.0 (provides the required type and supported version of the API function query)

(allows the client to query which operations are legal), it is impossible to know whether the old version of broker supports it or not.

The above is a sample analysis of compatibility between librdkafka and Broker versions. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report