Kafka
  1. Kafka
  2. KAFKA-1127

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.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.

      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

        Raymond Liu created issue -
        Raymond Liu made changes -
        Field Original Value New Value
        Attachment kafka-1127.patch [ 12612773 ]
        Raymond Liu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.9 [ 12323928 ]
        Raymond Liu made changes -
        Attachment kafka-1127-v2.patch [ 12612783 ]
        Raymond Liu made changes -
        Attachment kafka-1127-v3.patch [ 12613793 ]
        Jun Rao made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Assignee Raymond Liu [ colorant ]
        Fix Version/s 0.8.1 [ 12322960 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development