Gets the primary (Kafka API) endpoint for the Redpanda broker. This endpoint is reachable from the host.
public EndpointReference PrimaryEndpoint { get; }Remarks
The endpoint is pinned to the localhost network so that it always resolves to the published host address, even when the expression is evaluated for the Redpanda container itself (which otherwise resolves endpoints over the container network and would yield the container's own broker port).