Open AlexanderZagaynov opened 1 month ago
redpanda has different limitations than kafka. I will reconsider the defaults to have them work in both cases. Your workaround is pointless if you use declarative topics (https://karafka.io/docs/Declarative-Topics/) where you can define those topics accordingly to the documentation: https://karafka.io/docs/Web-UI-Getting-Started/#manual-web-ui-topics-management
just align this to the minimum redpanda accepts and bundle exec karafka topics migrate
before bunde exec karafka-web install
.
I will keep the issue open for now not to forget to revisit defaults.
I'm trying to run
bundle exec karafka-web install
while using "Serverless" Redpanda's Cloud (link).But getting a (vague) error: karafka-rdkafka-0.17.6/lib/rdkafka/error.rb:86:in `validate!': Broker: Configuration is invalid (invalid_config) (Rdkafka::RdkafkaError)
After some puts debugging (outputting
error_string
andresult_name
here), I saw that broker returns 'retention.ms 3600000 is too small, must be at least 24h' and 'cannot set "segment.ms"' kind of errors, while trying to create topics like 'karafka_consumers_metrics'.Expected behavior
Karafka-Web should be able to create needed topics on the cloud service.
Actual behavior
Obscure Broker Configuration error(s).
Steps to reproduce the problem
karafka.rb
connection lines:Your setup details
Please provide kafka version and the output of
karafka info
orbundle exec karafka info
if using Bundler.Workaround