--smp
A Redpanda start flag that sets how many CPU cores the broker uses, each running its own independent shard of work.
In more detail
Redpanda assigns one thread per core and splits partitions across them. The course passes --smp 1 with --memory 512M so every broker fits comfortably on a laptop.
Example
redpanda start --smp 1 --memory 512MRelated terms
- Redpanda — A streaming data platform, written in C++, that speaks the Kafka protocol so Kafka clients and tools work against it unchanged.
- CPU — The chip in a computer that runs program instructions; a machine can have several.
- dev-container mode — A Redpanda start mode that trades production safety checks for a fast, lightweight single-container broker.
- --overprovisioned — A Redpanda start flag for shared machines that stops the broker pinning threads to cores and warning about limited resources.
Taught in
- Why A Log And Not A Queue — Apache Kafka & Event Streaming
- A Producer In Python — Apache Kafka & Event Streaming