Disable schema generation
See original GitHub issueHello,
I have created my own AVRO schema to ingest my CSV data. I have registered my schema in the schema registry.
When I launch the connector I get the following error:
Caused by: org.apache.kafka.common.errors.SerializationException: Error registering Avro schema: ["null",{"type":"record","name":"ConnectDefault","namespace":"io.confluent.connect.avro","fields":[{"name":"message","type":["null","string"],"default":null},{"name":"headers","type":["null",{"type":"array","items":["null","string"]}],"default":null}]}] connect | Caused by: io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException: Schema being registered is incompatible with an earlier schema for subject "connect-file-pulse-data-csv-00-value"; error code: 409
I know that I have to set the property auto.register.schemas to false but I don’t know how to do it with docker.
I am using the docker version (streamthoughts/kafka-connect-file-pulse) 1.6.3.
I have tried the following:
CONNECT_PRODUCER_AUTO_REGISTER_SCHEMAS: 'false'
CONNECT_PRODUCER_USE_LATEST_VERSION: 'true'
or
CONNECT_AUTO_REGISTER_SCHEMAS: 'false'
CONNECT_USE_LATEST_VERSION: 'true'
Nothing is working.
How can I disable the schema generation ?
Thanks in advance.
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (4 by maintainers)
Top GitHub Comments
I just see that the property CONNECT_VALUE_CONVERTER_LATEST_COMPATIBILITY_STRICT is not working.
@fhussonnois Do you know how to set the property latest.compatibility.strict ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.