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

Can --replicas default to -1? #370

Open
rambo-panda opened this issue Oct 16, 2024 · 0 comments
Open

Can --replicas default to -1? #370

rambo-panda opened this issue Oct 16, 2024 · 0 comments

Comments

@rambo-panda
Copy link

rambo-panda commented Oct 16, 2024

current version: kaf version 0.2.8 (fde2262)


Isn't it more appropriate for the --replicas parameter to be -1 by default when creating a topic for the robustness of the project?

Error: accepts 1 arg(s), received 0
Usage:
  kaf topic create TOPIC [flags]

Flags:
      --compact            Enable topic compaction
  -h, --help               help for create
  -p, --partitions int32   Number of partitions (default 1)
  -r, --replicas int16     Number of replicas (default 1)

ps: partitions are already set to -1 by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant