# CommunityToolkit.Aspire.Hosting.RedPanda

- Module: `CommunityToolkit.Aspire.Hosting.RedPanda`
- Version: `13.5.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1)
- Functions: `6`
- Types: `3`

## Types

- [RedPandaConsoleContainerResource](/reference/api/typescript/communitytoolkit.aspire.hosting.redpanda/redpandaconsolecontainerresource.md) -- `handle` - 1 members -- A resource that represents a Redpanda Console container, a web UI for managing and inspecting one or more Redpanda (or Kafka) brokers.
- [RedPandaKafkaUiContainerResource](/reference/api/typescript/communitytoolkit.aspire.hosting.redpanda/redpandakafkauicontainerresource.md) -- `handle` - 0 members -- A resource that represents a Kafka UI container (the `kafbat/kafka-ui` image), a web UI for managing and inspecting one or more Kafka API compatible brokers such as Redpanda.
- [RedPandaServerResource](/reference/api/typescript/communitytoolkit.aspire.hosting.redpanda/redpandaserverresource.md) -- `handle` - 11 members -- A resource that represents a Redpanda streaming platform container.

## Functions

- [addRedPanda](/reference/api/typescript/communitytoolkit.aspire.hosting.redpanda/addredpanda.md) -- `method` -- Adds 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.
- [withConsole](/reference/api/typescript/communitytoolkit.aspire.hosting.redpanda/withconsole.md) -- `method` -- Adds a Redpanda Console container to the application, configured to connect to the Redpanda broker.
- [withDataBindMount](/reference/api/typescript/communitytoolkit.aspire.hosting.redpanda/withdatabindmount.md) -- `method` -- Adds a bind mount for the data folder to a Redpanda container resource.
- [withDataVolume](/reference/api/typescript/communitytoolkit.aspire.hosting.redpanda/withdatavolume.md) -- `method` -- Adds a named volume for the data folder to a Redpanda container resource.
- [withHostPort](/reference/api/typescript/communitytoolkit.aspire.hosting.redpanda/withhostport.md) -- `method` -- Configures the host port that the Redpanda Console resource is exposed on instead of using a randomly assigned port.
- [withKafkaUI](/reference/api/typescript/communitytoolkit.aspire.hosting.redpanda/withkafkaui.md) -- `method` -- Adds a Kafka UI container to the application, configured to connect to the Redpanda broker. This is the same Kafka management UI (the `kafbat/kafka-ui` image) used by the official Aspire Kafka integration, so it works against any Kafka API compatible broker.
