Skip to content
DocsTry Aspire
DocsTry

RedPandaServerOptions Properties

ClassProperties2 members
Options for configuring the broker of a RedPandaServerResource.
Gets or sets the number of logical CPU cores the broker is allowed to use (the Redpanda --smp flag). Defaults to 1.
public int CpuCount { 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".
public string Memory { get; set; }