Ahmet AKYOL created KAFKA-1932:
----------------------------------
Summary: kafka topic (creation) templates
Key: KAFKA-1932
URL: https://issues.apache.org/jira/browse/KAFKA-1932
Project: Kafka
Issue Type: Wish
Reporter: Ahmet AKYOL
AFAIK, the only way to create a Kafka topic (without using the default
settings) is using the provided bash script.
Even though, a client support could be nice, I would prefer to see a template
mechanism similar to [Elasticsearch Index
Templates|http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-templates.html]
.
What I have in my mind is very simple and adding something like this into
server properties :
template.name=pattern,numOfReplica,NumberOfPartition
and pattern can only contain "*" meaning starts with, ends with or contains.
example:
template.logtopics=*_log,2,20
template.loaders=*_loader,1,5
so when the first time some producer sends a message to a topic that ends with
"_logs" , kafka can use above settings.
thanks in advance
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)