apicurio-registry
apicurio-registry copied to clipboard
When using apicurio with mongodb-kafka-connector, I get RESTEASY003210 error
Hello,
I tried to set apicurio (v1.3.1) as the schema registry on my kafka-connect that is using mongodb-kafka-connector v1.7.0 to convert events to AVRO.
value.converter: io.confluent.connect.avro.AvroConverter
value.converter.schema.registry.url: http://my-apicurio-service-registry/api
key.converter: io.confluent.connect.avro.AvroConverter
key.converter.schema.registry.url: http://my-apicurio-service-registry/api
When I apply the changes, the KafkaConnectors throws the following exception:
Caused by: org.apache.kafka.common.config.ConfigException: Failed to access Avro data from topic my-topic-name : RESTEASY003210: Could not find resource for full path: http://my-apicurio-service-registry/api/subjects/my-topic-name/versions?normalize=false; error code: 404
I was checking the apicurio REST API and could not find any /api/subjects, therefore my question is, do apicurio supports this?
Please make sure that the apicurio dependencies in your pom file matches the version of apicurio registry installed
Hi, Registry supports Confluent-compatible API, but you have to use this base path: http://my-apicurio-service-registry/apis/ccompat/v6
. Try to change the URL configuration to that path.
Edit: Sorry I missed that you are using 1.x
version, then the base URL should be http://my-apicurio-service-registry/api/ccompat
I would recommend to update to Registry 2.x if you can, it also supports Confluent-compatible API and contains a lot of new features and bug fixes.
Closing this as stale but also raised against a very old version. Please upgrade to a more recent version and try again. Re-open this if you still encounter this problem! :)