Kafka

The Kafka provider for Pulumi can be used to provision any of the resources available for Kafka. The Kafka provider must be configured with credentials to deploy and update resources in Kafka.
See the full API documentation for complete details of the available Kafka provider APIs.
Setup
The Kafka provider supports several options for providing access to Kafka credentials. See the Kafka setup page for details.
Example
typescript
import * as kafka from "@pulumi/kafka";
const topic = new kafka.Topic("topic", {
name: "sample-topic",
replicationFactor: 1,
partitions: 4,
});Libraries
The following packages are available in packager managers:
- JavaScript/TypeScript:
@pulumi/kafka - Python:
pulumi-kafka - Go:
github.com/pulumi/pulumi-kafka/sdk/v3/go/kafka - .NET:
Pulumi.Kafka
The Kafka provider is open source and available in the pulumi/pulumi-kafka repo.