akhq
akhq copied to clipboard
Support Apicurio as schema registry
That would be great if we have the support of Apicurio Registry as schema registry: https://www.apicur.io/registry/
@tchiotludo @aboucham You can use Apicurio Schema Registry in Confluent Schema Registry API compatibility mode
Confluent Schema Registry API (Version 6) To provide compatibility with Confluent Serdes (and other clients), Apicurio Registry implements the API defined by the Confluent Schema Registry. Use this endpoint if your tooling is compatible with v6 of that API. This is only provided for compatibility purposes, the core Registry API should be used instead when possible. /apis/ccompat/v6
schema-registry:
url: " https://server-name/apis/ccompat/v6" # schema registry url (optional)
type: "confluent" # schema registry type (optional). Supported types are "confluent" (default) or "tibco"
# Basic Auth user / pass
basic-auth-username: registry-client
basic-auth-password: registry-client-secret
This works for me for now for this purpose but note the core Registry API should be used instead when possible.
@sookeke, waiting a PR on that one, maybe you can add PR on the docs here (a page to create) ?
@tchiotludo sure, I will add a pr and document this next week. Thanks
We configured the same as the previous example, but encountered the error.
No artifact with ID 'gid-0' in group 'null' was found.; error code: 40401
The message is writen by debezium with apicuri as converter, link: https://debezium.io/documentation/reference/2.3/configuration/avro.html#overview-of-deploying-a-debezium-connector-that-uses-avro-serialization
The first byte of message key/value is magic byte, [1, 9) is id of schema.