AddRedPanda
Method
func (DistributedApplicationBuilder) AddRedPanda( name string, options ...*AddRedPandaOptions,) RedPandaServerResourceSignature
method
AddRedPanda builderAdds a Redpanda container resource to the application. Redpanda is a Kafka API compatible streaming platform, so the resource can be referenced by any Kafka client integration.
AddRedPanda( name string, options ...*AddRedPandaOptions,) RedPandaServerResourceParameters
namestringThe name of the resource. This name is used as the connection string name when referenced in a dependency.options...*AddRedPandaOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddRedPandaOptions argument.
Port*float64The host port that the Kafka API is exposed on. If null a random port is assigned.Returns
RedPandaServerResource A reference to the I.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder