AWS MSK。 Kafka Connect - 插件类加载

发布于 2025-01-20 22:04:13 字数 424 浏览 2 评论 0原文

我正在使用MSK中的Kafka Connect。
我已经定义了一个指向S3中的zip文件的插件 - 这可以正常工作。
我已经实现了 smt强>相同的存储夹和文件夹与插件的zip文件。 我定义了一个新的连接器,这次我使用

transforms

我收到一条错误消息,即找不到类com.xyzmysmt找不到的错误消息。 我验证了罐子有效并包含SMT。 我应该在哪里放置smt jar才能使卡夫卡连接加载?

I am using Kafka Connect in MSK.
I have defined a plugin that points to a zip file in s3 - this works fine.
I have implemented SMT and uploaded the SMT jar into the same bucket and folder as the zip file of the plugin.
I define a new connector and this time I add the SMT using

transforms

I get an error message that the Class com.x.y.z.MySMT could not be found.
I verified that the jar is valid and contains the SMT.
Where should I put the SMT jar in order to make Kafka connect loading it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

胡渣熟男 2025-01-27 22:04:13

将SMT罐推入拉链( /lib)中,解决了未发现的类别的类。

Pushing the SMT jar into the zip (under /lib) solved the class not found issue.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文