Skip to content

Commit

Permalink
kafka/server: Disable quota balancer
Browse files Browse the repository at this point in the history
v2 was enabled by default in:
#16441

So running the balancer doesn't do anything other
than waste cpu cycles.

Signed-off-by: Ben Pope <ben@redpanda.com>
  • Loading branch information
BenPope committed Apr 16, 2024
1 parent 315a09e commit 16cda05
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/v/config/configuration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ using namespace std::chrono_literals;

configuration::configuration()
: log_segment_size(
*this,
"log_segment_size",
"Default log segment size in bytes for topics which do not set "
"segment.bytes",
{.needs_restart = needs_restart::no,
.example = "2147483648",
.visibility = visibility::tunable},
128_MiB,
{.min = 1_MiB})
*this,
"log_segment_size",
"Default log segment size in bytes for topics which do not set "
"segment.bytes",
{.needs_restart = needs_restart::no,
.example = "2147483648",
.visibility = visibility::tunable},
128_MiB,
{.min = 1_MiB})
, log_segment_size_min(
*this,
"log_segment_size_min",
Expand Down Expand Up @@ -2894,7 +2894,7 @@ configuration::configuration()
"milliseconds. Value of 0 disables the balancer and makes all the "
"throughput quotas immutable.",
{.needs_restart = needs_restart::no, .visibility = visibility::user},
750ms,
0ms,
{.min = 0ms})
, kafka_quota_balancer_min_shard_throughput_ratio(
*this,
Expand Down

0 comments on commit 16cda05

Please sign in to comment.