kafka-configurator
kafka-configurator copied to clipboard
Deduplication of configuration
It would be nice if templates could be defined to reduce duplication.
An example of this might be
templates:
web_event:
partitions: 10
replication: 1234567
config:
cleanup.policy: delete
retention.ms: 604800000
min.insync.replicas: 2
topics:
web_view:
template: web_event
web_click:
template: web_event
config.cleanup.policy: example_override
different_topic:
partitions: 12
replication: 89101112
config:
cleanup.policy: delete
retention.ms: 6000
min.insync.replicas: 3
where web_view is an example of a topic that mirrors the template exactly web_click is an example of a topic which overrides a single element of a template different_topic is an example of a topic which is not base on a template
Agreed we need something like this. I would say cleanup.policy: example_override
would need to be:
config:
cleanup.policy: example_override
You might have meant that anyway :) just to avoid confusion