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

Setting redpanda.transactional_id_expiration_ms scientific notation bug #2620

Closed
alenkacz opened this issue Oct 12, 2021 · 0 comments · Fixed by #2621
Closed

Setting redpanda.transactional_id_expiration_ms scientific notation bug #2620

alenkacz opened this issue Oct 12, 2021 · 0 comments · Fixed by #2621
Assignees
Labels
area/k8s kind/bug Something isn't working

Comments

@alenkacz
Copy link
Contributor

spec:
  additionalConfiguration:
    redpanda.default_topic_replications: "3"
    redpanda.enable_idempotence: "false"
    redpanda.enable_transactions: "false"
    redpanda.id_allocator_replication: "3"
    redpanda.transaction_coordinator_replication: "3"
    redpanda.transactional_id_expiration_ms: "25920000000"

yields

transactional_id_expiration_ms: 2.592e+10

which rp fails to parse

INFO  2021-10-12 06:48:38,883 [shard 0] redpanda::main - application.cc:304 - Use `rpk config set <cfg> <value>` to change values below:
INFO  2021-10-12 06:48:38,884 [shard 0] redpanda::main - application.cc:180 - Failure during startup: YAML::TypedBadConversion<std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> > > (yaml-cpp: error at line 65, column 35: bad conversion)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/k8s kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant