Skip to content
Docs Try Aspire

KafkaServerResource.withDataBindMount

Method
📦 Aspire.Hosting.Kafka v13.2.0-preview.1.26159.1
interface KafkaServerResource {
// ... omitted for brevity
withDataBindMount(
source: string,
isReadOnly?: boolean): KafkaServerResource;
}

Signature

method withDataBindMount builder
Adds a data bind mount to the Kafka container
withDataBindMount(
source: string,
isReadOnly?: boolean): KafkaServerResource
source string
isReadOnly boolean optional = False
KafkaServerResource

Defined on

This method is defined on the following type: