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
rpk start doesn't support multiple listeners #524
Comments
This blocks redpanda-data/helm-charts#16 |
I'm working on a fix as we speak, but the main obstacle for "sane" config management I see is that we don't have clearly-defined versions. So we could say config version 1 only supports a single advertised kafka addr and it requires I think we should have clear config versions to make this easier. |
Alternatively we could have multiple versions not at the config file level but at the field level. But this would of course make config mgmt more complex. |
+1 on having versioned config schemas. A pain to maintain but necessary in the long run in order to maintain sanity. This also will eventually result in having to publish a compatibility table between redpanda/rpk and config schema versions |
+1 on versioned schemas. |
Everything storage related, should really come with versions. I can't think of anything we send over the wire or on-disk that should not have a version tbh. |
This is not fixed.
docker run -it vectorized/redpanda:v21.2.2 redpanda start --advertise-kafka-addr=external://redpanda-0.example.com:9092,internal://192.168.1.2:9092 --kafka-addr=external://10.0.1.2:9092,internal://192.168.1.2:9092
ERROR 2021/02/18 14:57:43 svType != tvType; key=kafka_api, st=[]interface {}, tt=map[string]interface {}, sv=[map[address:10.0.1.2 name:external port:9092] map[address:192.168.1.2 name:internal port:9092]], tv=map[address:0.0.0.0 port:9092] |
Example config:
Error:
Some things to consider, when setting the config with rpk config set:
If the
redpanda.advertised_kafka_api
is already set in the config as map, then changing it to a list will fail, so the entire node needs replacing, not its contents.And both map and list forms need to be supported.
The text was updated successfully, but these errors were encountered: