Skip to content
DocsTry Aspire
DocsTry

RedPandaServerResource Properties

ClassProperties7 members
A resource that represents a Redpanda streaming platform container.
AdminEndpointSection titled AdminEndpointEndpointReference
Gets the Admin API HTTP endpoint for the Redpanda broker.
public EndpointReference AdminEndpoint { get; }
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string expression for the Redpanda broker in the form of host:port, suitable for use as the Kafka bootstrap servers value.
public ReferenceExpression ConnectionStringExpression { get; }
HostSection titled HostEndpointReferenceExpression
Gets the host of the primary Kafka endpoint.
public EndpointReferenceExpression Host { get; }
InternalEndpointSection titled InternalEndpointEndpointReference
Gets the internal Kafka API endpoint used for container-to-container communication.
public EndpointReference InternalEndpoint { get; }
PortSection titled PortEndpointReferenceExpression
Gets the port of the primary Kafka endpoint.
public EndpointReferenceExpression Port { get; }
PrimaryEndpointSection titled PrimaryEndpointEndpointReference
Gets the primary (Kafka API) endpoint for the Redpanda broker. This endpoint is reachable from the host.
public EndpointReference PrimaryEndpoint { get; }
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).
SchemaRegistryEndpointSection titled SchemaRegistryEndpointEndpointReference
Gets the Schema Registry HTTP endpoint for the Redpanda broker.
public EndpointReference SchemaRegistryEndpoint { get; }