You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of the properties which start with key.converter.schema.registry (except for the url) are not substitute by the env-vars.
I dug into the code, and it seems that the creation of the schema-registry in the Avro converter, simply uses the config as a Map, and does not use the ConfigProvider to reslove the properties. See here:
I am using Kafka-Connect on Kubernetes using the EnvVarConfigProvider:
And provided all Schema Registry configuration through env-vars to the workers
When using them in the connector configuration itself they work just fine, for example with JDBC sink connector:
But when I assign them to the converters configuration, for example (for a source connector):
All of the properties which start with
key.converter.schema.registry
(except for theurl
) are not substitute by the env-vars.I dug into the code, and it seems that the creation of the schema-registry in the Avro converter, simply uses the config as a Map, and does not use the ConfigProvider to reslove the properties. See here:
schema-registry/avro-converter/src/main/java/io/confluent/connect/avro/AvroConverter.java
Line 71 in 99fc46b
The text was updated successfully, but these errors were encountered: