1. Packages
  2. Astra DB
  3. API Docs
  4. StreamingSink
Astra DB v1.0.42 published on Tuesday, Jun 6, 2023 by pulumiverse

astra.StreamingSink

Explore with Pulumi AI

astra logo
Astra DB v1.0.42 published on Tuesday, Jun 6, 2023 by pulumiverse

    astra.StreamingSink creates a streaming sink which sends data from a topic to a target system.

    Example Usage

    using System.Collections.Generic;
    using System.Text.Json;
    using Pulumi;
    using Astra = Pulumiverse.Astra;
    
    return await Deployment.RunAsync(() => 
    {
        var streamingTenant_1 = new Astra.StreamingTenant("streamingTenant-1", new()
        {
            TenantName = "terraformtest2",
            Topic = "terraformtest",
            Region = "useast-4",
            CloudProvider = "gcp",
            UserEmail = "seb@datastax.com",
        });
    
        var cdc_1 = new Astra.Cdc("cdc-1", new()
        {
            DatabaseId = "5b70892f-e01a-4595-98e6-19ecc9985d50",
            DatabaseName = "sai_test",
            Table = "test",
            Keyspace = "sai_test",
            TopicPartitions = 3,
            TenantName = streamingTenant_1.TenantName,
        }, new CustomResourceOptions
        {
            DependsOn = new[]
            {
                streamingTenant_1,
            },
        });
    
        var streamingSink_1 = new Astra.StreamingSink("streamingSink-1", new()
        {
            TenantName = streamingTenant_1.TenantName,
            Topic = cdc_1.DataTopic,
            Region = "useast-4",
            CloudProvider = "gcp",
            SinkName = "jdbc-clickhouse",
            RetainOrdering = true,
            ProcessingGuarantees = "ATLEAST_ONCE",
            Parallelism = 3,
            Namespace = "default",
            SinkConfigs = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["userName"] = "clickhouse",
                ["password"] = "password",
                ["jdbcUrl"] = "jdbc:clickhouse://fake.clickhouse.url:8123/pulsar_clickhouse_jdbc_sink",
                ["tableName"] = "pulsar_clickhouse_jdbc_sink",
            }),
            AutoAck = true,
        }, new CustomResourceOptions
        {
            DependsOn = new[]
            {
                streamingTenant_1,
                cdc_1,
            },
        });
    
    });
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-astra/sdk/go/astra"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := astra.NewStreamingTenant(ctx, "streamingTenant-1", &astra.StreamingTenantArgs{
    			TenantName:    pulumi.String("terraformtest2"),
    			Topic:         pulumi.String("terraformtest"),
    			Region:        pulumi.String("useast-4"),
    			CloudProvider: pulumi.String("gcp"),
    			UserEmail:     pulumi.String("seb@datastax.com"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = astra.NewCdc(ctx, "cdc-1", &astra.CdcArgs{
    			DatabaseId:      pulumi.String("5b70892f-e01a-4595-98e6-19ecc9985d50"),
    			DatabaseName:    pulumi.String("sai_test"),
    			Table:           pulumi.String("test"),
    			Keyspace:        pulumi.String("sai_test"),
    			TopicPartitions: pulumi.Int(3),
    			TenantName:      streamingTenant_1.TenantName,
    		}, pulumi.DependsOn([]pulumi.Resource{
    			streamingTenant_1,
    		}))
    		if err != nil {
    			return err
    		}
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"userName":  "clickhouse",
    			"password":  "password",
    			"jdbcUrl":   "jdbc:clickhouse://fake.clickhouse.url:8123/pulsar_clickhouse_jdbc_sink",
    			"tableName": "pulsar_clickhouse_jdbc_sink",
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		_, err = astra.NewStreamingSink(ctx, "streamingSink-1", &astra.StreamingSinkArgs{
    			TenantName:           streamingTenant_1.TenantName,
    			Topic:                cdc_1.DataTopic,
    			Region:               pulumi.String("useast-4"),
    			CloudProvider:        pulumi.String("gcp"),
    			SinkName:             pulumi.String("jdbc-clickhouse"),
    			RetainOrdering:       pulumi.Bool(true),
    			ProcessingGuarantees: pulumi.String("ATLEAST_ONCE"),
    			Parallelism:          pulumi.Int(3),
    			Namespace:            pulumi.String("default"),
    			SinkConfigs:          pulumi.String(json0),
    			AutoAck:              pulumi.Bool(true),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			streamingTenant_1,
    			cdc_1,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.astra.StreamingTenant;
    import com.pulumi.astra.StreamingTenantArgs;
    import com.pulumi.astra.Cdc;
    import com.pulumi.astra.CdcArgs;
    import com.pulumi.astra.StreamingSink;
    import com.pulumi.astra.StreamingSinkArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    import com.pulumi.resources.CustomResourceOptions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var streamingTenant_1 = new StreamingTenant("streamingTenant-1", StreamingTenantArgs.builder()        
                .tenantName("terraformtest2")
                .topic("terraformtest")
                .region("useast-4")
                .cloudProvider("gcp")
                .userEmail("seb@datastax.com")
                .build());
    
            var cdc_1 = new Cdc("cdc-1", CdcArgs.builder()        
                .databaseId("5b70892f-e01a-4595-98e6-19ecc9985d50")
                .databaseName("sai_test")
                .table("test")
                .keyspace("sai_test")
                .topicPartitions(3)
                .tenantName(streamingTenant_1.tenantName())
                .build(), CustomResourceOptions.builder()
                    .dependsOn(streamingTenant_1)
                    .build());
    
            var streamingSink_1 = new StreamingSink("streamingSink-1", StreamingSinkArgs.builder()        
                .tenantName(streamingTenant_1.tenantName())
                .topic(cdc_1.dataTopic())
                .region("useast-4")
                .cloudProvider("gcp")
                .sinkName("jdbc-clickhouse")
                .retainOrdering(true)
                .processingGuarantees("ATLEAST_ONCE")
                .parallelism(3)
                .namespace("default")
                .sinkConfigs(serializeJson(
                    jsonObject(
                        jsonProperty("userName", "clickhouse"),
                        jsonProperty("password", "password"),
                        jsonProperty("jdbcUrl", "jdbc:clickhouse://fake.clickhouse.url:8123/pulsar_clickhouse_jdbc_sink"),
                        jsonProperty("tableName", "pulsar_clickhouse_jdbc_sink")
                    )))
                .autoAck(true)
                .build(), CustomResourceOptions.builder()
                    .dependsOn(                
                        streamingTenant_1,
                        cdc_1)
                    .build());
    
        }
    }
    
    import pulumi
    import json
    import pulumiverse_astra as astra
    
    streaming_tenant_1 = astra.StreamingTenant("streamingTenant-1",
        tenant_name="terraformtest2",
        topic="terraformtest",
        region="useast-4",
        cloud_provider="gcp",
        user_email="seb@datastax.com")
    cdc_1 = astra.Cdc("cdc-1",
        database_id="5b70892f-e01a-4595-98e6-19ecc9985d50",
        database_name="sai_test",
        table="test",
        keyspace="sai_test",
        topic_partitions=3,
        tenant_name=streaming_tenant_1.tenant_name,
        opts=pulumi.ResourceOptions(depends_on=[streaming_tenant_1]))
    streaming_sink_1 = astra.StreamingSink("streamingSink-1",
        tenant_name=streaming_tenant_1.tenant_name,
        topic=cdc_1.data_topic,
        region="useast-4",
        cloud_provider="gcp",
        sink_name="jdbc-clickhouse",
        retain_ordering=True,
        processing_guarantees="ATLEAST_ONCE",
        parallelism=3,
        namespace="default",
        sink_configs=json.dumps({
            "userName": "clickhouse",
            "password": "password",
            "jdbcUrl": "jdbc:clickhouse://fake.clickhouse.url:8123/pulsar_clickhouse_jdbc_sink",
            "tableName": "pulsar_clickhouse_jdbc_sink",
        }),
        auto_ack=True,
        opts=pulumi.ResourceOptions(depends_on=[
                streaming_tenant_1,
                cdc_1,
            ]))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as astra from "@pulumiverse/astra";
    
    const streamingTenant_1 = new astra.StreamingTenant("streamingTenant-1", {
        tenantName: "terraformtest2",
        topic: "terraformtest",
        region: "useast-4",
        cloudProvider: "gcp",
        userEmail: "seb@datastax.com",
    });
    const cdc_1 = new astra.Cdc("cdc-1", {
        databaseId: "5b70892f-e01a-4595-98e6-19ecc9985d50",
        databaseName: "sai_test",
        table: "test",
        keyspace: "sai_test",
        topicPartitions: 3,
        tenantName: streamingTenant_1.tenantName,
    }, {
        dependsOn: [streamingTenant_1],
    });
    const streamingSink_1 = new astra.StreamingSink("streamingSink-1", {
        tenantName: streamingTenant_1.tenantName,
        topic: cdc_1.dataTopic,
        region: "useast-4",
        cloudProvider: "gcp",
        sinkName: "jdbc-clickhouse",
        retainOrdering: true,
        processingGuarantees: "ATLEAST_ONCE",
        parallelism: 3,
        namespace: "default",
        sinkConfigs: JSON.stringify({
            userName: "clickhouse",
            password: "password",
            jdbcUrl: "jdbc:clickhouse://fake.clickhouse.url:8123/pulsar_clickhouse_jdbc_sink",
            tableName: "pulsar_clickhouse_jdbc_sink",
        }),
        autoAck: true,
    }, {
        dependsOn: [
            streamingTenant_1,
            cdc_1,
        ],
    });
    
    resources:
      streamingTenant-1:
        type: astra:StreamingTenant
        properties:
          tenantName: terraformtest2
          topic: terraformtest
          region: useast-4
          cloudProvider: gcp
          userEmail: seb@datastax.com
      cdc-1:
        type: astra:Cdc
        properties:
          databaseId: 5b70892f-e01a-4595-98e6-19ecc9985d50
          databaseName: sai_test
          table: test
          keyspace: sai_test
          topicPartitions: 3
          tenantName: ${["streamingTenant-1"].tenantName}
        options:
          dependson:
            - ${["streamingTenant-1"]}
      streamingSink-1:
        type: astra:StreamingSink
        properties:
          tenantName: ${["streamingTenant-1"].tenantName}
          topic: ${["cdc-1"].dataTopic}
          region: useast-4
          cloudProvider: gcp
          sinkName: jdbc-clickhouse
          retainOrdering: true
          processingGuarantees: ATLEAST_ONCE
          parallelism: 3
          namespace: default
          sinkConfigs:
            Fn::ToJSON:
              userName: clickhouse
              password: password
              jdbcUrl: jdbc:clickhouse://fake.clickhouse.url:8123/pulsar_clickhouse_jdbc_sink
              tableName: pulsar_clickhouse_jdbc_sink
          autoAck: true
        options:
          dependson:
            - ${["streamingTenant-1"]}
            - ${["cdc-1"]}
    

    Create StreamingSink Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new StreamingSink(name: string, args: StreamingSinkArgs, opts?: CustomResourceOptions);
    @overload
    def StreamingSink(resource_name: str,
                      args: StreamingSinkArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def StreamingSink(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      auto_ack: Optional[bool] = None,
                      cloud_provider: Optional[str] = None,
                      namespace: Optional[str] = None,
                      parallelism: Optional[int] = None,
                      processing_guarantees: Optional[str] = None,
                      region: Optional[str] = None,
                      retain_ordering: Optional[bool] = None,
                      sink_configs: Optional[str] = None,
                      sink_name: Optional[str] = None,
                      tenant_name: Optional[str] = None,
                      topic: Optional[str] = None,
                      deletion_protection: Optional[bool] = None)
    func NewStreamingSink(ctx *Context, name string, args StreamingSinkArgs, opts ...ResourceOption) (*StreamingSink, error)
    public StreamingSink(string name, StreamingSinkArgs args, CustomResourceOptions? opts = null)
    public StreamingSink(String name, StreamingSinkArgs args)
    public StreamingSink(String name, StreamingSinkArgs args, CustomResourceOptions options)
    
    type: astra:StreamingSink
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args StreamingSinkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args StreamingSinkArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args StreamingSinkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StreamingSinkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StreamingSinkArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var streamingSinkResource = new Astra.StreamingSink("streamingSinkResource", new()
    {
        AutoAck = false,
        CloudProvider = "string",
        Namespace = "string",
        Parallelism = 0,
        ProcessingGuarantees = "string",
        Region = "string",
        RetainOrdering = false,
        SinkConfigs = "string",
        SinkName = "string",
        TenantName = "string",
        Topic = "string",
        DeletionProtection = false,
    });
    
    example, err := astra.NewStreamingSink(ctx, "streamingSinkResource", &astra.StreamingSinkArgs{
    	AutoAck:              pulumi.Bool(false),
    	CloudProvider:        pulumi.String("string"),
    	Namespace:            pulumi.String("string"),
    	Parallelism:          pulumi.Int(0),
    	ProcessingGuarantees: pulumi.String("string"),
    	Region:               pulumi.String("string"),
    	RetainOrdering:       pulumi.Bool(false),
    	SinkConfigs:          pulumi.String("string"),
    	SinkName:             pulumi.String("string"),
    	TenantName:           pulumi.String("string"),
    	Topic:                pulumi.String("string"),
    	DeletionProtection:   pulumi.Bool(false),
    })
    
    var streamingSinkResource = new StreamingSink("streamingSinkResource", StreamingSinkArgs.builder()
        .autoAck(false)
        .cloudProvider("string")
        .namespace("string")
        .parallelism(0)
        .processingGuarantees("string")
        .region("string")
        .retainOrdering(false)
        .sinkConfigs("string")
        .sinkName("string")
        .tenantName("string")
        .topic("string")
        .deletionProtection(false)
        .build());
    
    streaming_sink_resource = astra.StreamingSink("streamingSinkResource",
        auto_ack=False,
        cloud_provider="string",
        namespace="string",
        parallelism=0,
        processing_guarantees="string",
        region="string",
        retain_ordering=False,
        sink_configs="string",
        sink_name="string",
        tenant_name="string",
        topic="string",
        deletion_protection=False)
    
    const streamingSinkResource = new astra.StreamingSink("streamingSinkResource", {
        autoAck: false,
        cloudProvider: "string",
        namespace: "string",
        parallelism: 0,
        processingGuarantees: "string",
        region: "string",
        retainOrdering: false,
        sinkConfigs: "string",
        sinkName: "string",
        tenantName: "string",
        topic: "string",
        deletionProtection: false,
    });
    
    type: astra:StreamingSink
    properties:
        autoAck: false
        cloudProvider: string
        deletionProtection: false
        namespace: string
        parallelism: 0
        processingGuarantees: string
        region: string
        retainOrdering: false
        sinkConfigs: string
        sinkName: string
        tenantName: string
        topic: string
    

    StreamingSink Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The StreamingSink resource accepts the following input properties:

    AutoAck bool
    auto ack
    CloudProvider string
    Cloud provider
    Namespace string
    Pulsar Namespace
    Parallelism int
    Parallelism for Pulsar sink
    ProcessingGuarantees string
    "ATLEASTONCE""ATMOSTONCE""EFFECTIVELY_ONCE".
    Region string
    cloud region
    RetainOrdering bool
    Retain ordering.
    SinkConfigs string
    Sink Configs
    SinkName string
    Name of the sink.
    TenantName string
    Streaming tenant name.
    Topic string
    Streaming tenant topic.
    DeletionProtection bool
    Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply command that deletes the instance will fail. Defaults to true.
    AutoAck bool
    auto ack
    CloudProvider string
    Cloud provider
    Namespace string
    Pulsar Namespace
    Parallelism int
    Parallelism for Pulsar sink
    ProcessingGuarantees string
    "ATLEASTONCE""ATMOSTONCE""EFFECTIVELY_ONCE".
    Region string
    cloud region
    RetainOrdering bool
    Retain ordering.
    SinkConfigs string
    Sink Configs
    SinkName string
    Name of the sink.
    TenantName string
    Streaming tenant name.
    Topic string
    Streaming tenant topic.
    DeletionProtection bool
    Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply command that deletes the instance will fail. Defaults to true.
    autoAck Boolean
    auto ack
    cloudProvider String
    Cloud provider
    namespace String
    Pulsar Namespace
    parallelism Integer
    Parallelism for Pulsar sink
    processingGuarantees String
    "ATLEASTONCE""ATMOSTONCE""EFFECTIVELY_ONCE".
    region String
    cloud region
    retainOrdering Boolean
    Retain ordering.
    sinkConfigs String
    Sink Configs
    sinkName String
    Name of the sink.
    tenantName String
    Streaming tenant name.
    topic String
    Streaming tenant topic.
    deletionProtection Boolean
    Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply command that deletes the instance will fail. Defaults to true.
    autoAck boolean
    auto ack
    cloudProvider string
    Cloud provider
    namespace string
    Pulsar Namespace
    parallelism number
    Parallelism for Pulsar sink
    processingGuarantees string
    "ATLEASTONCE""ATMOSTONCE""EFFECTIVELY_ONCE".
    region string
    cloud region
    retainOrdering boolean
    Retain ordering.
    sinkConfigs string
    Sink Configs
    sinkName string
    Name of the sink.
    tenantName string
    Streaming tenant name.
    topic string
    Streaming tenant topic.
    deletionProtection boolean
    Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply command that deletes the instance will fail. Defaults to true.
    auto_ack bool
    auto ack
    cloud_provider str
    Cloud provider
    namespace str
    Pulsar Namespace
    parallelism int
    Parallelism for Pulsar sink
    processing_guarantees str
    "ATLEASTONCE""ATMOSTONCE""EFFECTIVELY_ONCE".
    region str
    cloud region
    retain_ordering bool
    Retain ordering.
    sink_configs str
    Sink Configs
    sink_name str
    Name of the sink.
    tenant_name str
    Streaming tenant name.
    topic str
    Streaming tenant topic.
    deletion_protection bool
    Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply command that deletes the instance will fail. Defaults to true.
    autoAck Boolean
    auto ack
    cloudProvider String
    Cloud provider
    namespace String
    Pulsar Namespace
    parallelism Number
    Parallelism for Pulsar sink
    processingGuarantees String
    "ATLEASTONCE""ATMOSTONCE""EFFECTIVELY_ONCE".
    region String
    cloud region
    retainOrdering Boolean
    Retain ordering.
    sinkConfigs String
    Sink Configs
    sinkName String
    Name of the sink.
    tenantName String
    Streaming tenant name.
    topic String
    Streaming tenant topic.
    deletionProtection Boolean
    Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply command that deletes the instance will fail. Defaults to true.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the StreamingSink resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing StreamingSink Resource

    Get an existing StreamingSink resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: StreamingSinkState, opts?: CustomResourceOptions): StreamingSink
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_ack: Optional[bool] = None,
            cloud_provider: Optional[str] = None,
            deletion_protection: Optional[bool] = None,
            namespace: Optional[str] = None,
            parallelism: Optional[int] = None,
            processing_guarantees: Optional[str] = None,
            region: Optional[str] = None,
            retain_ordering: Optional[bool] = None,
            sink_configs: Optional[str] = None,
            sink_name: Optional[str] = None,
            tenant_name: Optional[str] = None,
            topic: Optional[str] = None) -> StreamingSink
    func GetStreamingSink(ctx *Context, name string, id IDInput, state *StreamingSinkState, opts ...ResourceOption) (*StreamingSink, error)
    public static StreamingSink Get(string name, Input<string> id, StreamingSinkState? state, CustomResourceOptions? opts = null)
    public static StreamingSink get(String name, Output<String> id, StreamingSinkState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutoAck bool
    auto ack
    CloudProvider string
    Cloud provider
    DeletionProtection bool
    Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply command that deletes the instance will fail. Defaults to true.
    Namespace string
    Pulsar Namespace
    Parallelism int
    Parallelism for Pulsar sink
    ProcessingGuarantees string
    "ATLEASTONCE""ATMOSTONCE""EFFECTIVELY_ONCE".
    Region string
    cloud region
    RetainOrdering bool
    Retain ordering.
    SinkConfigs string
    Sink Configs
    SinkName string
    Name of the sink.
    TenantName string
    Streaming tenant name.
    Topic string
    Streaming tenant topic.
    AutoAck bool
    auto ack
    CloudProvider string
    Cloud provider
    DeletionProtection bool
    Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply command that deletes the instance will fail. Defaults to true.
    Namespace string
    Pulsar Namespace
    Parallelism int
    Parallelism for Pulsar sink
    ProcessingGuarantees string
    "ATLEASTONCE""ATMOSTONCE""EFFECTIVELY_ONCE".
    Region string
    cloud region
    RetainOrdering bool
    Retain ordering.
    SinkConfigs string
    Sink Configs
    SinkName string
    Name of the sink.
    TenantName string
    Streaming tenant name.
    Topic string
    Streaming tenant topic.
    autoAck Boolean
    auto ack
    cloudProvider String
    Cloud provider
    deletionProtection Boolean
    Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply command that deletes the instance will fail. Defaults to true.
    namespace String
    Pulsar Namespace
    parallelism Integer
    Parallelism for Pulsar sink
    processingGuarantees String
    "ATLEASTONCE""ATMOSTONCE""EFFECTIVELY_ONCE".
    region String
    cloud region
    retainOrdering Boolean
    Retain ordering.
    sinkConfigs String
    Sink Configs
    sinkName String
    Name of the sink.
    tenantName String
    Streaming tenant name.
    topic String
    Streaming tenant topic.
    autoAck boolean
    auto ack
    cloudProvider string
    Cloud provider
    deletionProtection boolean
    Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply command that deletes the instance will fail. Defaults to true.
    namespace string
    Pulsar Namespace
    parallelism number
    Parallelism for Pulsar sink
    processingGuarantees string
    "ATLEASTONCE""ATMOSTONCE""EFFECTIVELY_ONCE".
    region string
    cloud region
    retainOrdering boolean
    Retain ordering.
    sinkConfigs string
    Sink Configs
    sinkName string
    Name of the sink.
    tenantName string
    Streaming tenant name.
    topic string
    Streaming tenant topic.
    auto_ack bool
    auto ack
    cloud_provider str
    Cloud provider
    deletion_protection bool
    Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply command that deletes the instance will fail. Defaults to true.
    namespace str
    Pulsar Namespace
    parallelism int
    Parallelism for Pulsar sink
    processing_guarantees str
    "ATLEASTONCE""ATMOSTONCE""EFFECTIVELY_ONCE".
    region str
    cloud region
    retain_ordering bool
    Retain ordering.
    sink_configs str
    Sink Configs
    sink_name str
    Name of the sink.
    tenant_name str
    Streaming tenant name.
    topic str
    Streaming tenant topic.
    autoAck Boolean
    auto ack
    cloudProvider String
    Cloud provider
    deletionProtection Boolean
    Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a terraform destroy or terraform apply command that deletes the instance will fail. Defaults to true.
    namespace String
    Pulsar Namespace
    parallelism Number
    Parallelism for Pulsar sink
    processingGuarantees String
    "ATLEASTONCE""ATMOSTONCE""EFFECTIVELY_ONCE".
    region String
    cloud region
    retainOrdering Boolean
    Retain ordering.
    sinkConfigs String
    Sink Configs
    sinkName String
    Name of the sink.
    tenantName String
    Streaming tenant name.
    topic String
    Streaming tenant topic.

    Import

     $ pulumi import astra:index/streamingSink:StreamingSink example tenant_name/topic
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    astra pulumiverse/pulumi-astra
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the astra Terraform Provider.
    astra logo
    Astra DB v1.0.42 published on Tuesday, Jun 6, 2023 by pulumiverse