Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

RedPandaServerResource.WithKafkaUI

Method
📦 CommunityToolkit.Aspire.Hosting.RedPanda v13.6.1
type RedPandaServerResource interface {
// ... omitted for brevity
WithKafkaUI(options ...*WithKafkaUIOptions) RedPandaServerResource
}

Signature

methodWithKafkaUIbuilder
Adds 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(options ...*WithKafkaUIOptions) RedPandaServerResource
options...*WithKafkaUIOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithKafkaUIOptions argument.

ConfigureContainerfunc(obj RedPandaKafkaUiContainerResource)callbackAn optional callback to configure the Kafka UI container resource.
ContainerName*stringThe name of the container (optional).
RedPandaServerResource

A reference to the IResourceBuilder for the Redpanda server resource.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: