# RedPandaServerOptions Properties

- Package: [CommunityToolkit.Aspire.Hosting.RedPanda](/reference/api/csharp/communitytoolkit.aspire.hosting.redpanda.md)
- Type: [RedPandaServerOptions](/reference/api/csharp/communitytoolkit.aspire.hosting.redpanda/redpandaserveroptions.md)
- Kind: `Properties`
- Members: `2`

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

<a id="cpucount"></a>

## CpuCount

- Name: `CpuCount`
- Modifiers: `get; set`
- Returns: `int`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.RedPanda/RedPandaServerOptions.cs)

Gets or sets the number of logical CPU cores the broker is allowed to use (the Redpanda `--smp` flag). Defaults to `1`.

```csharp
public int CpuCount { get; set; }
```

<a id="memory"></a>

## Memory

- Name: `Memory`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.RedPanda/RedPandaServerOptions.cs)

Gets or sets the amount of memory the broker is allowed to use (the Redpanda `--memory` flag), for example `"1G"`. Defaults to `"1G"`.

```csharp
public string Memory { get; set; }
```
