Return-Path: X-Original-To: apmail-kafka-dev-archive@www.apache.org Delivered-To: apmail-kafka-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5DD88178AB for ; Mon, 10 Nov 2014 02:38:34 +0000 (UTC) Received: (qmail 38886 invoked by uid 500); 10 Nov 2014 02:38:34 -0000 Delivered-To: apmail-kafka-dev-archive@kafka.apache.org Received: (qmail 38825 invoked by uid 500); 10 Nov 2014 02:38:34 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 38813 invoked by uid 99); 10 Nov 2014 02:38:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2014 02:38:34 +0000 Date: Mon, 10 Nov 2014 02:38:34 +0000 (UTC) From: "Neha Narkhede (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-1654) Provide a way to override server configuration from command line MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KAFKA-1654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204259#comment-14204259 ] Neha Narkhede commented on KAFKA-1654: -------------------------------------- bq. Does the reasoning resonate with you or would you prefer to simply add ability to override the config properties without opening the code to introduce additional command line arguments in the future? Yes, I think we can keep it simple and improve it if we do come across such a need in the future. > 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 > Affects Versions: 0.8.1.1 > Reporter: Jarek Jarcec Cecho > Assignee: Jarek Jarcec Cecho > Fix For: 0.8.3 > > Attachments: KAFKA-1654.patch, KAFKA-1654.patch > > > 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)