1. Packages
  2. Kafka Connect
  3. Installation & Configuration
Kafka Connect v0.0.9 published on Thursday, Jan 23, 2025 by azaurus1

Kafka Connect: Installation & Configuration

kafka-connect logo
Kafka Connect v0.0.9 published on Thursday, Jan 23, 2025 by azaurus1

    Installation

    The Kafka Connect Pulumi provider is available as a package in all Pulumi languages:

    Node.js (JavaScript/TypeScript)

    To use from JavaScript or TypeScript in Node.js, install using either npm:

    npm install @azaurus/kafkaconnect
    

    or yarn:

    yarn add @azaurus/kafkaconnect
    

    Python

    To use from Python, install using pip:

    pip install pulumi-kafkaconnect
    

    Go

    To use from Go, use go get to grab the latest version of the library:

    go get github.com/azaurus1/pulumi-kafka-connect/sdk/go/kafkaconnect
    

    .NET

    To use from .NET, install using dotnet add package:

    dotnet add package Azaurus1.Kafkaconnect
    

    Configuration

    The following configuration points are available for the kafka-connect provider:

    • kafkaconnect:url - This is the URL of the Connect cluster (Env: KAFKA_CONNECT_URL)

    Configuring the Provider

    Using pulumi config set

    You can configure the provider using Pulumi’s config set command. For example:

    pulumi config set kafkaconnect:url https://my-kafka-connect-cluster:8083
    

    Using Environment Variables

    You can also configure the provider by setting environment variables before running your Pulumi program. For example:

    export KAFKA_CONNECT_URL=https://my-kafka-connect-cluster:8083
    

    If both pulumi config and environment variables are set, the environment variable will take precedence.

    kafka-connect logo
    Kafka Connect v0.0.9 published on Thursday, Jan 23, 2025 by azaurus1