You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2014/09/26 18:31:33 UTC

[jira] [Created] (KAFKA-1654) Provide a way to override server configuration from command line

Jarek Jarcec Cecho created KAFKA-1654:
-----------------------------------------

             Summary: Provide a way to override server configuration from command line
                 Key: KAFKA-1654
                 URL: https://issues.apache.org/jira/browse/KAFKA-1654
             Project: Kafka
          Issue Type: Improvement
          Components: core
            Reporter: Jarek Jarcec Cecho
            Assignee: Jarek Jarcec Cecho


I've been recently playing with Kafka and I found the current way of server configuration quite inflexible. All the configuration options have to be inside a properties file and there is no way how they can be overridden for execution.  In order to temporarily change one property I had to copy the config file and change the property there. Hence, I'm wondering if people would be open to provide a way how to specify and override the configs from the command line when starting Kafka?

Something like:

{code}
./bin/kafka-server-start.sh -Dmy.cool.property=X kafka.properties
{code}

or 

{code}
./bin/kafka-server-start.sh --set my.cool.property=X kafka.properties
{code}

I'm more than happy to take a stab at it, but I would like to see if there is an interest for such capability?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)