How to use Microcks Docker with Apicurio Schema Registry #700
-
Is it possbile, and how to use Microcks installed using Docker in combination with Apicurio Schema Registry? https://microcks.io/documentation/guides/avro-messaging/#1-setup-schema-registry is not useful to me because I'm trying to achive this without Helm Char or Operator based installation |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 13 replies
-
Hey! Currently, we do not provide docker-compose file for deploying this config. However this should be possible simply adding an You'll also need to adjust properties in
|
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying this again, but again no luck :( I've added this to application.properties:
and this to docker-compose-async-addon.yml:
Then I've run: And Microcks started sending messages (User signed-up API - 0.1.1) to created Kafka topic, but it did not register schema in the schema registry. Is there a way to fix that? |
Beta Was this translation helpful? Give feedback.
-
What did you mean by ´If reusing a non empty instance, you'll have to first delete and then reimport the AsyncAPI+Avro file.´ |
Beta Was this translation helpful? Give feedback.
-
I've achived that messages are written to the Kafka topic and schemas registered in schema registry. |
Beta Was this translation helpful? Give feedback.
I've achived that messages are written to the Kafka topic and schemas registered in schema registry.
This issue: #782 helped me. I had to import AsyncAPI schema that has reference to Avro schema using raw link to schema from GitHub: https://raw.githubusercontent.com/microcks/microcks/master/webapp/src/test/resources/io/github/microcks/util/asyncapi/user-signedup-avro-ref-asyncapi.yaml.