You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by si...@apache.org on 2019/06/04 18:44:05 UTC

[pulsar] branch master updated: Update administration-zk-bk to add the way to start bookie in foreground. (#4424)

This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new fc59074  Update administration-zk-bk to add the way to start bookie in foreground. (#4424)
fc59074 is described below

commit fc59074e9a563a7952ae9fd18e8a2e8bbb1e72a9
Author: Fangbin Sun <su...@gmail.com>
AuthorDate: Wed Jun 5 02:43:59 2019 +0800

    Update administration-zk-bk to add the way to start bookie in foreground. (#4424)
    
    ### Motivation
    
    Update administration-zk-bk to add the way to start bookie in foreground
    
    ### Modifications
    
    Add `bookkeeper` to start a bookie.
---
 site2/docs/administration-zk-bk.md | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/site2/docs/administration-zk-bk.md b/site2/docs/administration-zk-bk.md
index 26e81f9..9c674eb 100644
--- a/site2/docs/administration-zk-bk.md
+++ b/site2/docs/administration-zk-bk.md
@@ -183,9 +183,15 @@ BookKeeper bookies can be configured using the [`conf/bookkeeper.conf`](referenc
 
 You can start up a bookie in two ways: in the foreground or as a background daemon.
 
-To start up a bookie in the foreground, use the [`bookeeper`](reference-cli-tools.md#bookkeeper)
+To start up a bookie in the foreground, use the [`bookeeper`](reference-cli-tools.md#bookkeeper) CLI tool:
 
-```shell
+```bash
+$ bin/bookkeeper bookie
+```
+
+To start a bookie in the background, use the [`pulsar-daemon`](reference-cli-tools.md#pulsar-daemon) CLI tool:
+
+```bash
 $ bin/pulsar-daemon start bookie
 ```