OS Manuals

/usr/share/java/pulsar/bin/bookkeeper

Pulsar is a distributed pub-sub messaging platform with a very flexible messaging model and an intuitive client API.

From apache-pulsar-4.2 4.2.2-r0 (os), captured 2026-11-05 by running bookkeeper --help (exit 0). permalink

JAVA_HOME not set, using java from PATH. (/usr/sbin/java)
Usage: bookkeeper <command>
where command is one of:
    bookie              Run a bookie server
    autorecovery        Run AutoRecovery service
    localbookie <n>     Run a test ensemble of <n> bookies locally
    upgrade             Upgrade bookie filesystem
    shell               Run shell for admin commands
    help                This help message

or command is the full name of a class with a defined main() method.

Environment variables:
   BOOKIE_LOG_CONF        Log4j configuration file (default /usr/share/java/pulsar/conf/log4j2.yaml)
   BOOKIE_CONF            Configuration file (default: /usr/share/java/pulsar/conf/bookkeeper.conf)
   BOOKIE_EXTRA_OPTS      Extra options to be passed to the jvm
   BOOKIE_EXTRA_CLASSPATH Add extra paths to the bookkeeper classpath
   ENTRY_FORMATTER_CLASS  Entry formatter class to format entries.
   BOOKIE_PID_DIR         Folder where the Bookie server PID file should be stored
   BOOKIE_STOP_TIMEOUT    Wait time before forcefully kill the Bookie server instance, if the stop is not successful

These variable can also be set in conf/bkenv.sh

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.