confluent asyncapi export¶
Description¶
Create an AsyncAPI specification for a Kafka cluster.
confluent asyncapi export [flags]
Flags¶
--file string Output file name. (default "asyncapi-spec.yaml")
--group-id string Consumer Group ID for getting messages. (default "consumerApplication")
--consume-examples Consume messages from topics for populating examples.
--spec-version string Version number of the output file. (default "1.0.0")
--kafka-api-key string Kafka cluster API key.
--schema-registry-api-key string API key for Schema Registry.
--schema-registry-api-secret string API secret for Schema Registry.
--schema-context string Use a specific schema context. (default "default")
--value-format string Format of message value as "string", "avro", "jsonschema", or "protobuf". 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¶
- confluent asyncapi - Manage AsyncAPI document tooling.