<!-- WARNING: This documentation is auto-generated from the confluentinc/cli repository and should not be manually edited. -->

<a id="confluent-asyncapi-import"></a>

# confluent asyncapi import

## Description

Update a Kafka cluster and Schema Registry according to an AsyncAPI specification file.

```none
confluent asyncapi import [flags]
```

## Flags

```none
--file string                       REQUIRED: Input filename.
--overwrite                         Overwrite existing topics with the same name.
--kafka-api-key string              Kafka cluster API key.
--schema-registry-endpoint string   The URL of the Schema Registry cluster.
--kafka-endpoint string             Endpoint to be used for this Kafka cluster.
```

## Global Flags

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

## Examples

Import an AsyncAPI specification file to populate an existing Kafka cluster and Schema Registry.

```none
confluent asyncapi import --file spec.yaml
```

## See Also

* [confluent asyncapi](index.md#confluent-asyncapi) - Manage AsyncAPI document tooling.
