apache-kafka-connect - How do I upgrade my Debezium plug-in version in Kafka connect?
问题描述
I am currently running Debezium 0.9.4 and I want to upgrade it to the latest version 1.6. Do I simply download the jar files and save them to the plug-in directory specified in my kafka-connect worker.properties
file? From the document here, what do they mean by
remove the old plugin files, install the 1.6.0.CR1 plugin files
What is the CR1 plug-in files? Where are the JAR files?
解决方案
Release 1.6.0.CR1 (June 24th, 2021) is the name of release and according to the docs, yes, you stop the connector gracefully, remove the old JARs (from the directory that you currently have) and copy the new ones. Good luck!
Move the current content of {/usr/local/share/kafka/plugins/debezium-connector-mysql/} to a backup folder outside of {/usr/local/share/kafka/plugins} and copy the unziped directory into the plugin path
You might want to reconsider as according to the release page 1.5 is the current stable release , looking on their release cycle next month probably would came out 1.6 final as stable version.
When you decide to upgrade one of these connectors to 1.6.0.CR1 from any earlier versions, first check the migration notes for the version you’re using. Gracefully stop the running connector, remove the old plugin files, install the 1.6.0.CR1 plugin files, and restart the connector using the same configuration. Upon restart, the 1.6.0.CR1 connectors will continue where the previous connector left off. As one might expect, all change events previously written to Kafka by the old connector will not be modified
推荐阅读
- html - 使用 NodeJS 和 Python 代码中的 Post 操作进行重定向
- ios - Swift:为什么 CAShapeLayer 的 Stroke 和 LineWidth 是从 Center 绘制的
- regex - Query::StatementInvalid: Mysql2::Error: Got error 'repetition-operator operand invalid' 从正则表达式:
- swiftui - 为什么查看初始化后状态值不重置
- c# - 如何将控制器循环到 Ajax,然后将其与 View 绑定?
- vb.net - vb.net resx 翻译 windows 窗体应用程序
- java - 如何从对话框中的主活动更新 ImageButton 的图像资源
- javascript - vue - 如何使用带有 css 和 js 的本地样式库
- android - Mac 在快速启动模式下无法识别 Pixel 3A
- xaml - TapGestureRecognizer 不适用于 Image 组件?