Skip to content
DocsTry Aspire
DocsTry

withConsole

Method
📦 CommunityToolkit.Aspire.Hosting.RedPanda v13.5.0
interface RedPandaServerResource {
// ... omitted for brevity
withConsole(
configureContainer?: callback,
containerName?: string): RedPandaServerResource;
}

Signature

methodwithConsolebuilder
Adds a Redpanda Console container to the application, configured to connect to the Redpanda broker.
withConsole(configureContainer?: (obj: RedPandaConsoleContainerResource) => Promise<void>, containerName?: string): RedPandaServerResource
configureContainer(obj: RedPandaConsoleContainerResource) => Promise<void>optional
containerNamestringoptional
RedPandaServerResource

Applies to

This method applies to the following types: