Datastax Astra Streaming sink connector

You can use the Datastax Astra Streaming Connector to get data from or send data to an Astra stream. This topic covers how to configure the DataStax Astra Streaming Connector to send data from Decodable into DataStax Astra. If you are looking for information about how to get data from DataStax Astra into Decodable, see Datastax Astra Streaming source connector in the Connect to a data source chapter.


Delivery guarantee

At least once


Pulsar 2.9.x or above


If you want to use the Decodable CLI or API to create the connection, you can refer to the Property Name column for information about what the underlying property names are. The connector name is astra-streaming.
  1. From the Connections page, select the DataStax Astra Streaming Connector and complete the following fields.

    UI Field Property Name Description

    Connection Type


    Select sink to use this connector to send data into DataStax Astra.

    Broker Service URL


    The URL to connect to your Astra Streaming broker.

    For example, pulsar+ssl://

    Admin Web Service URL


    The URL to connect to your Astra Streaming admin endpoint.

    For example, <>.



    The fully qualified name of the Astra topic.

    For example, persistent://stream/namespace/topic-name.

    Authentication Token


    The JWT web token to use for authentication.

    Partition Key Columns


    A list of fields, delimited by semicolons, that comprise the partition key.

    For example: field1;field2.

    Partition Key Format


    Optional. The format used to serialize and deserialize the partition key. Must be one of the following:

    • JSON

    • Avro

    • Raw

    Value Format


    The format for data in the Astra topic. Must be one of the following:

    • JSON

    • AVRO

    • Raw

    Partition Key Inclusion Policy


    Specify whether the partition key columns should be present in the payload values sent to Astra.

    For an example of how the key.fields, key.format, and value.fields-include arguments work together, see the examples in the Key and Value Formats section in the Apache Flink documentation.

  2. Select the stream that you’d like to connect to this connector. Then, select Next.

  3. Define the connection’s schema. Decodable can automatically populate the connection’s schema using Pulsar’s schema registry. In most cases, you’ll want to select Schema Registry to automatically populate the connection’s schema. However, if you would like to manually enter the schema, select New Schema or Structured Schema Definition.

    1. If you want to automatically populate the connection schema using Pulsar’s schema registry, you’ll also need to provide the name of your Pulsar tenant, the namespace where your topic is, and the version of the schema that you’d like to use.

  4. Select Next when you are finished providing defining the connection’s schema.

  5. Give the newly created connection a Name and Description and select Save.