# RedPandaServerOptions

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.RedPanda](/reference/api/csharp/communitytoolkit.aspire.hosting.redpanda.md)
- Version: `13.5.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.RedPanda/RedPandaServerOptions.cs)

Options for configuring the broker of a [RedPandaServerResource](/reference/api/csharp/communitytoolkit.aspire.hosting.redpanda/redpandaserverresource.md).

## Definition

```csharp
namespace Aspire.Hosting;

public class RedPandaServerOptions
{
    // ...
}
```

## Constructors

- [RedPandaServerOptions](/reference/api/csharp/communitytoolkit.aspire.hosting.redpanda/redpandaserveroptions/constructors.md#constructor)

## Properties

- [CpuCount](/reference/api/csharp/communitytoolkit.aspire.hosting.redpanda/redpandaserveroptions/properties.md#cpucount) : `int` `get; set` -- Gets or sets the number of logical CPU cores the broker is allowed to use (the Redpanda `--smp` flag). Defaults to `1`.
- [Memory](/reference/api/csharp/communitytoolkit.aspire.hosting.redpanda/redpandaserveroptions/properties.md#memory) : `string` `get; set` -- Gets or sets the amount of memory the broker is allowed to use (the Redpanda `--memory` flag), for example `"1G"`. Defaults to `"1G"`.
