[
https://issues.apache.org/jira/browse/KAFKA-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13818700#comment-13818700
]
Jun Rao commented on KAFKA-1127:
--------------------------------
Thanks for patch v2. Would it be better to keep the existing behavior of
kafka-server-start.sh and zookeeper-server-start.sh (i.e., running in
foreground) and add a new option to run them in daemon mode? Seeing the log in
console is probably useful for testing. Also, I am not sure if changing the
current behavior of kafka-server-start.sh and zookeeper-server-start.sh will
break any system test.
> kafka and zookeeper server should start in daemon mode and log to correct
> position
> ----------------------------------------------------------------------------------
>
> Key: KAFKA-1127
> URL: https://issues.apache.org/jira/browse/KAFKA-1127
> Project: Kafka
> Issue Type: Improvement
> Components: core
> Affects Versions: 0.9
> Reporter: Raymond Liu
> Priority: Minor
> Attachments: kafka-1127-v2.patch, kafka-1127.patch
>
>
> Hi
> At present, the kafka-server-start.sh and zookeeper-server-start.sh will
> start kafka broker and zookeeper in fg mode, though "daemon" parameter is
> added. you need to add & to make it bg. But the console log will still output
> in fg.
> Should make it fully run in bg and redirect console log to files. And log
> file position should not depends on where the cmd is running. Thus it will be
> more friendly for scripts to launch server on nodes by batch.
--
This message was sent by Atlassian JIRA
(v6.1#6144)