Kafka v3.8.2 published on Monday, Dec 9, 2024 by Pulumi
Kafka Provider: Installation & Configuration
The Pulumi Kafka provider uses the Kafka SDK to manage and provision resources.
Installation
The Kafka Cloud provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumi/kafka
- Python:
pulumi-kafka
- Go:
github.com/pulumi/pulumi-kafka/sdk/v3/go/kafka
- .NET:
Pulumi.Kafka
- Java:
com.pulumi/kafka
Configuring Credentials
Pulumi relies on the Kafka SDK to authenticate requests from your computer to Kafka. Your credentials are never sent to pulumi.com. The Pulumi Kafka Provider needs to be configured with Kafka credentials before it can be used to create resources.
In order to communicate your configuration details to Pulumi:
Set them using configuration, if you prefer that they be stored alongside your Pulumi stack for easy multi-user access:
$ pulumi config set kafka:bootstrapServers ["127.0.0.1:9092"]
The complete list of configuration parameters is in the Kafka provider README.