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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.1.0
    • 0.8.1
    • core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: