create_astradb_destination
Generate an AstraDB destination connector by specifying a unique name, collection, keyspace, and batch size for efficient NoSQL document insertion.
Instructions
Create an AstraDB destination connector.
Args:
name: A unique name for this connector
collection_name: The name of the collection to use
keyspace: The AstraDB keyspace
batch_size: The batch size for inserting documents, must be positive (default: 20)
Note: A collection in AstraDB is a schemaless document store optimized for NoSQL workloads,
equivalent to a table in traditional databases.
A keyspace is the top-level namespace in AstraDB that groups multiple collections.
We require the users to create their own collection and keyspace before creating the connector.
Returns:
String containing the created destination connector information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_size | No | ||
| collection_name | Yes | ||
| keyspace | Yes | ||
| name | Yes |