confluent asyncapi export


Create an AsyncAPI specification for a Kafka cluster.

confluent asyncapi export [flags]


--file string           Output file name. (default "asyncapi-spec.yaml")
--group-id string       Group ID for Kafka binding. (default "consumerApplication")
--consume-examples      Consume messages from topics for populating examples.
--spec-version string   Version number of the output file. (default "1.0.0")
--api-key string        API key.
--api-secret string     API key secret.
--value-format string   Format of message value as string, avro, protobuf, or jsonschema. Note that schema references are not supported for avro. (default "string")
--cluster string        Kafka cluster ID.
--environment string    Environment ID.

Global Flags

-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which may contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).

See Also