Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default partitions count for __consumer_offsets topic increased #5412

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/v/config/configuration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ configuration::configuration()
"group_topic_partitions",
"Number of partitions in the internal group membership topic",
{.needs_restart = needs_restart::no, .visibility = visibility::tunable},
1)
16)
, default_topic_replication(
*this,
"default_topic_replications",
Expand Down
6 changes: 5 additions & 1 deletion tests/rptest/tests/group_membership_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def __init__(self, ctx, *args, **kwargs):

# Require internal_kafka topic to have an increased replication factor
extra_rp_conf = dict(default_topic_replications=3,
enable_leader_balancer=False)
enable_leader_balancer=False,
group_topic_partitions=1)
super(GroupMetricsTest, self).__init__(test_context=ctx,
num_brokers=3,
extra_rp_conf=extra_rp_conf)
Expand Down Expand Up @@ -374,6 +375,9 @@ def select_next_leader():
timeout_sec=30,
backoff_sec=5)

self.logger.debug(
f"Waiting for metrics from the single node: {new_leader.account.hostname}"
)
wait_until(lambda: metrics_from_single_node(new_leader),
timeout_sec=30,
backoff_sec=5)
Expand Down