共用方式為


KafkaServerResource.PrimaryEndpoint Property

Definition

Gets the primary endpoint for the Kafka broker. This endpoint is used for host processes to Kafka broker communication. To connect to the Kafka broker from a host process, use InternalEndpoint.

public Aspire.Hosting.ApplicationModel.EndpointReference PrimaryEndpoint { get; }
member this.PrimaryEndpoint : Aspire.Hosting.ApplicationModel.EndpointReference
Public ReadOnly Property PrimaryEndpoint As EndpointReference

Property Value

Applies to