Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

KafkaServerResource.WithKafkaUI

Method
📦 Aspire.Hosting.Kafka v17.0.0
type KafkaServerResource interface {
// ... omitted for brevity
WithKafkaUI(options ...*WithKafkaUIOptions) KafkaServerResource
}

Signature

methodWithKafkaUIbuilder
Adds a Kafka UI container to the application.
WithKafkaUI(options ...*WithKafkaUIOptions) KafkaServerResource
options...*WithKafkaUIOptionsOptional settings, described under Options.

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

ConfigureContainerfunc(obj KafkaUIContainerResource)callbackConfiguration callback for KafkaUI container resource.
ContainerName*stringThe name of the container (Optional).
KafkaServerResource

The resource builder.

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

Defined on

This method is defined on the following type: