Open twobeeb opened 3 years ago
A possible workaround for this issue involves adding the jar of the ConfigProvider in cub CLASSPATH. As per the cub.py code, simply declare CUB_CLASSPATH environment variable. https://github.com/confluentinc/confluent-docker-utils/blob/master/confluent/docker_utils/cub.py#L47
CUB_CLASSPATH: "/usr/share/java/cp-base/*:/usr/share/java/cp-base-new/*:/usr/share/confluent-hub-components/*"
+1 I am trying to use https://github.com/lensesio/secret-provider Jar. It fails on cub kafka-ready
command in ensure. Tried above solution mentioned by @twobeeb and still same issue. However, if I by pass ensure
or cub kafka-ready
everything works!!
Image: confluentinc/cp-kafka-connect:6.2.1 Jar: secret-provider-2.1.6-all.jar
Config with CONNECT_CONFIG_PROVIDERS
Config with CONNECT_CONFIG_PROVIDERS removed
Even stranger, the following config lets kafka connect starts properly (upper case value) :
Except it's useless because aes.class and aes.key don't match the name AES.
I went a little bit inside the pod and did the following steps :
This tells me that
cub kafka-ready
is picking config it shouldn't pick and this is rendering kafka-connect image impossible to use.Thanks for your help.