You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ahmet AKYOL (JIRA)" <ji...@apache.org> on 2015/02/08 09:42:34 UTC
[jira] [Created] (KAFKA-1932) kafka topic (creation) templates
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)