Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1127

kafka and zookeeper server should start in daemon mode and log to correct position

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.1.0
    • Fix Version/s: 0.8.1
    • Component/s: core
    • Labels:
      None

      Description

      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.

        Attachments

        1. kafka-1127.patch
          4 kB
          Raymond Liu
        2. kafka-1127-v2.patch
          5 kB
          Raymond Liu
        3. kafka-1127-v3.patch
          7 kB
          Raymond Liu

          Activity

            People

            • Assignee:
              colorant Raymond Liu
              Reporter:
              colorant Raymond Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: