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

Bundle cluster properties to --mode dev-container flag in rpk redpanda start #5661

Closed
r-vasquez opened this issue Jul 26, 2022 · 2 comments · Fixed by #7019
Closed

Bundle cluster properties to --mode dev-container flag in rpk redpanda start #5661

r-vasquez opened this issue Jul 26, 2022 · 2 comments · Fixed by #7019
Labels
area/rpk kind/enhance New feature or request

Comments

@r-vasquez
Copy link
Contributor

r-vasquez commented Jul 26, 2022

Follow up for #5628

Who is this for and what problem do they have today?

Users want to spin up a redpanda node for development/testing using rpk.

What are the success criteria?

Include the following cluster properties into the --sandbox bundle in rpk redpanda start command:

  • topic_partitions_per_shard=1000
  • group_topic_partitions=1
  • auto_create_topics_enabled=true

Additional notes

To set a cluster property on the first startup one should write a .bootstrap.yaml to the same directory that redpanda.yaml is in. The bootstrap file is a single yaml dict of property name to value.

@BenPope
Copy link
Member

BenPope commented Aug 11, 2022

This is also pretty useful for trading latency and "hot" polling: fetch_reads_debounce_timeout - default is 1ms, 10ms is a bit nicer.

@emaxerrno
Copy link
Contributor

@BenPope GREAT catch!

@r-vasquez r-vasquez changed the title Bundle cluster properties to --sandbox flag in rpk redpanda start Bundle cluster properties to --mode dev-container flag in rpk redpanda start Oct 31, 2022
r-vasquez added a commit to r-vasquez/redpanda that referenced this issue Oct 31, 2022
Useful for trading latency and "hot" polling.

Fixes redpanda-data#5661
r-vasquez added a commit to r-vasquez/redpanda that referenced this issue Oct 31, 2022
Useful for trading latency and "hot" polling.

Fixes redpanda-data#5661
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rpk kind/enhance New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants