添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
爱喝酒的刺猬  ·  Bindable events and ...·  3 天前    · 
乖乖的蜡烛  ·  Unable to connect to ...·  3 天前    · 
很拉风的丝瓜  ·  How to Connect to ...·  2 天前    · 
踢足球的南瓜  ·  How to connect to MS ...·  2 天前    · 
谈吐大方的电脑桌  ·  spring ...·  3 月前    · 
还单身的脆皮肠  ·  Implementing Bulk ...·  6 月前    · 

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am trying to install the Avro Converter inside the connect docker image by extending it.
To do so, I am using the following command in the dockerfile:

ENV GLUE_SCHEMA_REGISTRY_VERSION="1.1.14"

RUN wget -O /usr/share/java/schema-registry-kafkaconnect-converter.jar " https://repo1.maven.org/maven2/software/amazon/glue/schema-registry-kafkaconnect-converter/${GLUE_SCHEMA_REGISTRY_VERSION}/schema-registry-kafkaconnect-converter-${GLUE_SCHEMA_REGISTRY_VERSION}.jar " &&
cp /usr/share/java/schema-registry-kafkaconnect-converter.jar /usr/share/java/cp-base-new/ &&
cp /usr/share/java/schema-registry-kafkaconnect-converter.jar /etc/kafka-connect/jars/ &&
rm /usr/share/java/schema-registry-kafkaconnect-converter.jar

But when the worker launches, I am getting the following error:

ERROR Stopping due to error (org.apache.kafka.connect.cli.ConnectDistributed)
java.lang.NoSuchMethodError: 'boolean org.apache.kafka.common.utils.Utils.isBlank(java.lang.String)'
at org.apache.kafka.connect.runtime.WorkerConfig$ListenersValidator.ensureValid(WorkerConfig.java:429)
at org.apache.kafka.common.config.ConfigDef$ConfigKey.(ConfigDef.java:1150)
at org.apache.kafka.common.config.ConfigDef.define(ConfigDef.java:152)
at org.apache.kafka.common.config.ConfigDef.define(ConfigDef.java:172)
at org.apache.kafka.common.config.ConfigDef.define(ConfigDef.java:211)
at org.apache.kafka.common.config.ConfigDef.define(ConfigDef.java:373)
at org.apache.kafka.connect.runtime.WorkerConfig.baseConfigDef(WorkerConfig.java:252)
at org.apache.kafka.connect.runtime.distributed.DistributedConfig.(DistributedConfig.java:196)
at org.apache.kafka.connect.cli.ConnectDistributed.startConnect(ConnectDistributed.java:95)
at org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:80)

Which suggests that there is some kind of conflict with commons-lang3 library.

Is there a way to avoid this?