Skip to content

Generate AsyncAPI from Kafka, Pulsar, SNS or SQS

Writing the first AsyncAPI document by hand is slow. Start from what runs:

Terminal window
kurkik kafka export prod
Terminal window
kurkik pulsar export shop-prod
Terminal window
kurkik sns export topics-prod --consumers
Terminal window
kurkik sqs export queues-prod

Kafka with a schema registry (Confluent, Karapace, Redpanda or Apicurio) puts the real schemas in too: set --registry-url on the connection.

Later, check the document still tells the truth:

Terminal window
kurkik kafka diff prod-kafka.yaml prod

See real documents: Kafka, Pulsar, SQS, SNS.