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:

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:

  1. 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.