RedPandaServerResource
Classnet10.0
A resource that represents a Redpanda streaming platform container.
namespace Aspire.Hosting.ApplicationModel;
public class RedPandaServerResource : Aspire.Hosting.ApplicationModel.ContainerResource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...}ContainerResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences
8 members
Remarks
Section titled Remarks Redpanda is a Kafka API compatible streaming platform. The
RedPandaServerResource.ConnectionStringExpression returns the bootstrap broker address ( host:port) that Kafka clients use to connect. Constructors1
Section titled ConstructorsProperties7
Section titled PropertiesAdminEndpointgetEndpointReference Gets the Admin API HTTP endpoint for the Redpanda broker.
ConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the Redpanda broker in the form of
host:port, suitable for use as the Kafka bootstrap servers value. HostgetEndpointReferenceExpression Gets the host of the primary Kafka endpoint.
InternalEndpointgetEndpointReference Gets the internal Kafka API endpoint used for container-to-container communication.
PortgetEndpointReferenceExpression Gets the port of the primary Kafka endpoint.
PrimaryEndpointgetEndpointReference Gets the primary (Kafka API) endpoint for the Redpanda broker. This endpoint is reachable from the host.
SchemaRegistryEndpointgetEndpointReference Gets the Schema Registry HTTP endpoint for the Redpanda broker.