CommunityToolkit.Aspire.Hosting.RedPanda
📦 CommunityToolkit.Aspire.Hosting.RedPandav13.5.06Functions
3Types
3 types and 7 members
Types
Functions
method
addRedPandabuilderAdds 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): RedPandaServerResourcemethod
withConsolebuilderAdds a Redpanda Console container to the application, configured to connect to the Redpanda broker.
withConsole(configureContainer?: (obj: RedPandaConsoleContainerResource) => Promise<void>, containerName?: string): RedPandaServerResourcemethod
withDataBindMountbuilderAdds a bind mount for the data folder to a Redpanda container resource.
withDataBindMount(source: string, isReadOnly?: boolean): RedPandaServerResourcemethod
withDataVolumebuilderAdds a named volume for the data folder to a Redpanda container resource.
withDataVolume(name?: string, isReadOnly?: boolean): RedPandaServerResourcemethod
withHostPortbuilderConfigures the host port that the Redpanda Console resource is exposed on instead of using a randomly assigned port.
withHostPort(port: number): RedPandaConsoleContainerResourcemethod
withKafkaUIbuilderAdds a Kafka UI container to the application, configured to connect to the Redpanda broker. This is the same Kafka management UI (the `kafbat/kafka-ui` image) used by the official Aspire Kafka integration, so it works against any Kafka API compatible broker.
withKafkaUI(configureContainer?: (obj: RedPandaKafkaUiContainerResource) => Promise<void>, containerName?: string): RedPandaServerResource