Kafka Streams库 v1.1.0 是否与Kafka集群 v2.8.1 向前兼容?

huangapple go评论50阅读模式
英文:

Is Kafka Streams library v1.1.0 forward compatible with Kafka cluster v2.8.1?

问题

I'm running a Kafka Streams application. Here's the current version compatibility:

  • kafka-streams v1.1.0(在其基础上有自定义更改)
  • kafka集群 v2.1.1

我计划将我的Kafka集群升级到v2.8.1。这个相同的kafka-streams库是否与较新的kafka版本兼容?我找不到官方的流兼容性矩阵。我可以在Confluent找到一个,但在官方Kafka网站上找不到。

我将我的Kafka Streams应用程序与Kafka v2.8.1运行,并似乎正常运行。为了避免以后出现任何意外情况,我正在寻找与兼容性或支持相关的任何指针。

英文:

I'm running a Kafka Streams application. Here's the current version compatibility:

  • kafka-streams v1.1.0 (with custom changes on top of it)
  • kafka cluster v2.1.1

I'm planning to upgrade my Kafka cluster to v2.8.1. Is the same kafka-streams library compatible with the newer kafka version? I'm not able to find any official compatibility matrix for streams. I could find one from Confluent, but none from the official Kafka website.

I ran my Kafka Streams app against Kafka v2.8.1 and it does seems to run. I'd like to avoid any surprises at a later point in time, hence looking for any pointers to compatibility or support.

答案1

得分: 2

Kafka Streams API使用Kafka消费者和生产者API。Kafka协议是向后兼容的,所以你不应该遇到任何问题(即新的Kafka集群可以与旧的Kafka客户端一起工作)。

需要注意的是,从Kafka 4.0.0开始(尚未发布),他们计划移除这种向后兼容性。请查看KIP-896以获取更多详情:https://cwiki.apache.org/confluence/display/KAFKA/KIP-896%3A+Remove+old+client+protocol+API+versions+in+Kafka+4.0

英文:

The Kafka Streams API uses the Kafka consumer and producer API underneath. The Kafka protocol is backward compatible so you should not have any problem (so having new Kafka cluster working with old Kafka clients).
Takes only into account that starting with Kafka 4.0.0 (not released yet), they are planning to remove this backward compatibility. See KIP-896 for more details here: https://cwiki.apache.org/confluence/display/KAFKA/KIP-896%3A+Remove+old+client+protocol+API+versions+in+Kafka+4.0

huangapple
  • 本文由 发表于 2023年2月6日 14:14:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/75357902.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定