Skip to content
DocsTry Aspire
DocsTry

addRedPanda

Method
📦 CommunityToolkit.Aspire.Hosting.RedPanda v13.5.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addRedPanda(
name: string,
port?: number): RedPandaServerResource;
}

Signature

methodaddRedPandabuilder
Adds a Redpanda container resource to the application. Redpanda is a Kafka API compatible streaming platform, so the resource can be referenced by any Kafka client integration.
addRedPanda(
name: string,
port?: number): RedPandaServerResource
namestring
portnumberoptional
RedPandaServerResource

Applies to

This method applies to the following types: