DataStax Astra Streaming

Use the DataStax Astra Streaming Connector to get data from or send data to an Astra stream.

Overview

Connector nameastra-streaming
Typesource, sink
Delivery guaranteeat least once
CompatibilityPulsar 2.9.x or above

Create a connection to an Astra stream with the DataStax Astra Streaming Connector

Follow these steps to get data from or send data to DataStax Astra.

  1. From the Connections page, select the DataStax Astra Streaming Connector and complete the following fields.
FieldDescription
Connection TypeSelect whether you want to connect to an Astra stream as a source or a sink.

If you select source, then Decodable will read data from the Astra topic provided.
If you select sink, then Decodable will send data to the Astra topic provided.
Broker Service URLThe URL to connect to your Astra Streaming broker.

For example, pulsar+ssl://broker.example.com:6651.
Admin Web Service URLThe URL to connect to your Astra Streaming admin endpoint.

For example, <https://broker.example.com>.
TopicThe fully-qualified name of the Astra topic.

For example, persistent://stream/namespace/topic-name.
Authentication TokenThe JWT web token to use for authentication.
Value FormatThe format for data in the Astra topic. Must be one of the following:
- JSON
- AVRO
- Debezium (JSON)

If you want to send CDC data through this connector, then you must select Debezium (JSON).
  1. Select the stream that you’d like to connect to this connector. Then, select Next.

  2. Define the connection’s schema. Decodable can auto-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 auto-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.
  3. Select Next when you are finished providing defining the connection’s schema.

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

Properties

The following properties are supported by the Kinesis connector.

PropertyDispositionDescription
topicrequiredFully qualified Astra streaming topic name.

Example: persistent://decodable/default/test
service-urlrequiredThe broker service URL.

Example: pulsar+ssl://broker.example.com:6651
admin-urlrequiredThe admin web service URL.

Example: <https://broker.example.com>
formatrequiredThe format for data in the Astra topic. Must be one of the following:
- JSON
- AVRO
- Debezium (JSON)

If you want to send CDC data through this connector, then you must select Debezium (JSON).
tokenrequiredJWT token for authentication.

Example: eyJhbGciOiJIUzI1NiJ9...