I would like to now if exist a cli tool to convert an avro schema file into a asyncapi file.
Many thanks in advance
I would like to now if exist a cli tool to convert an avro schema file into a asyncapi file.
Many thanks in advance
Copyright © 2021 Jogjafile Inc.
I do not know if such a tool exists and if it every will. The thing is that these standards are for a different purpose
Avro: it like a schema format that defines the structure of a message
AsyncAPI: it is on a higher level, it describes application behaviour and can have a lot of additional information about brokers it connects to, channels where messages are sent and consumed from.
Because Avro scope is limited, any CLI that would convert to AsyncAPI, would have to have some custom functionality that would enable you to provide more metadata required for the AsyncAPI document.
The good part is that you can use Avro inside AsyncAPI
Example of a message described in AsyncAPI document:
More details in: https://www.asyncapi.com/docs/tutorials/kafka/configure-kafka-avro