Bookkeeper工程实践

Posted 麒思妙想

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Bookkeeper工程实践相关的知识,希望对你有一定的参考价值。

引入依赖

        <dependency>
            <groupId>org.apache.bookkeeper</groupId>
            <artifactId>bookkeeper-server</artifactId>
            <version>4.14.4</version>
        </dependency>

        <dependency>
            <groupId>org.apache.bookkeeper</groupId>
            <artifactId>bookkeeper-common</artifactId>
            <version>4.14.4</version>
        </dependency>

        <dependency>
            <groupId>com.google.protobuf</groupId>
            <artifactId>protobuf-java</artifactId>
            <version>3.19.4</version>
        </dependency>

测试代码

package wang.datahub;

import org.apache.bookkeeper.client.api.*;
import org.apache.bookkeeper.conf.ClientConfiguration;

import java.util.Iterator;

public class BookKeeperTest 
    public static void main(String[] args) 
        try 
            ClientConfiguration config = new ClientConfiguration();
            config.setMetadataServiceUri("zk+null://localhost:2181/ledgers");
            BookKeeper bkClient = BookKeeper.newBuilder(config).build();// new BookKeeper(config);
            System.out.println("BookKeeper client init success.");

            WriteHandle writeHandle = bkClient.newCreateLedgerOp()
                    .withDigestType(org.apache.bookkeeper.client.api.DigestType.MAC)
                    .withPassword("dafei1288".getBytes())
                    .execute()
                    .get();



            for(int i = 0; i < 2; i++) 
                byte[] data = new String("message-" + i).getBytes();
                writeHandle.append(data);
                System.out.println("write to ==> "+new String(data));
            
            writeHandle.close();
            long ledgerId = writeHandle.getLedgerMetadata().getLedgerId();
            ReadHandle cfr = bkClient.newOpenLedgerOp()
                    .withLedgerId(ledgerId)
                    .withDigestType(org.apache.bookkeeper.client.api.DigestType.MAC)
                    .withPassword("dafei1288".getBytes())
                    .execute()
                    .get();

            System.out.println("ledgerId = "+ledgerId);

            Iterator<LedgerEntry> iterable = cfr.read(0, writeHandle.getLastAddConfirmed()).iterator();
            while(iterable.hasNext())
                LedgerEntry entry = iterable.next();
                System.out.println("read => "+new String(entry.getEntryBytes()));
            
            cfr.close();
         catch (Exception e) 
            e.printStackTrace();
        
    


启动服务

bin/bookkeeper localbookie 5
 ✘ ⚡ root@DESKTOP-2J030JA  /mnt/e/devlop/envs/bookkeeper-server-4.14.0 bin/bookkeeper localbookie 5                                                                
2022-03-03 16:36:59,169 - INFO  - [main:LocalBookKeeper@458] - Using configuration file /mnt/e/devlop/envs/bookkeeper-server-4.14.0/conf/bk_server.conf
2022-03-03 16:36:59,194 - INFO  - [main:LocalBookKeeper@90] - Running 5 bookie(s) on zk ensemble = '127.0.0.1:2181'.
2022-03-03 16:36:59,197 - INFO  - [main:LocalBookKeeper@120] - Starting ZK server
2022-03-03 16:36:59,248 - INFO  - [main:ZookeeperBanner@42] - 
2022-03-03 16:36:59,248 - INFO  - [main:ZookeeperBanner@42] -   ______                  _
2022-03-03 16:36:59,248 - INFO  - [main:ZookeeperBanner@42] -  |___  /                 | |
2022-03-03 16:36:59,248 - INFO  - [main:ZookeeperBanner@42] -     / /    ___     ___   | | __   ___    ___   _ __     ___   _ __
2022-03-03 16:36:59,249 - INFO  - [main:ZookeeperBanner@42] -    / /    / _ \\   / _ \\  | |/ /  / _ \\  / _ \\ | '_ \\   / _ \\ | '__|
2022-03-03 16:36:59,249 - INFO  - [main:ZookeeperBanner@42] -   / /__  | (_) | | (_) | |   <  |  __/ |  __/ | |_) | |  __/ | |
2022-03-03 16:36:59,249 - INFO  - [main:ZookeeperBanner@42] -  /_____|  \\___/   \\___/  |_|\\_\\  \\___|  \\___| | .__/   \\___| |_|
2022-03-03 16:36:59,249 - INFO  - [main:ZookeeperBanner@42] -                                               | |
2022-03-03 16:36:59,251 - INFO  - [main:ZookeeperBanner@42] -                                               |_|
2022-03-03 16:36:59,252 - INFO  - [main:ZookeeperBanner@42] -
2022-03-03 16:36:59,261 - INFO  - [main:Environment@98] - Server environment:zookeeper.version=3.6.2--803c7f1a12f85978cb049af5e4ef23bd8b688715, built on 09/04/2020 12:44 GMT
2022-03-03 16:36:59,261 - INFO  - [main:Environment@98] - Server environment:host.name=DESKTOP-2J030JA.localdomain
2022-03-03 16:36:59,261 - INFO  - [main:Environment@98] - Server environment:java.version=1.8.0_292
2022-03-03 16:36:59,262 - INFO  - [main:Environment@98] - Server environment:java.vendor=AdoptOpenJDK
2022-03-03 16:36:59,262 - INFO  - [main:Environment@98] - Server environment:java.home=/root/.sdkman/candidates/java/8.0.292.hs-adpt/jre
2022-03-03 16:36:59,262 - INFO  - [main:Environment@98] - Server environment:java.class.path=/mnt/e/devlop/envs/bookkeeper-server-4.14.0/conf:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-server-4.14.0.jar::/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.beust-jcommander-1.78.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.fasterxml.jackson.core-jackson-annotations-2.11.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.fasterxml.jackson.core-jackson-core-2.11.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.fasterxml.jackson.core-jackson-databind-2.11.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.android-annotations-4.1.1.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.api.grpc-proto-google-common-protos-1.17.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.auth-google-auth-library-credentials-0.20.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.auth-google-auth-library-oauth2-http-0.20.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.auto.value-auto-value-annotations-1.7.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.code.gson-gson-2.8.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.errorprone-error_prone_annotations-2.4.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.guava-failureaccess-1.0.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.guava-guava-30.0-jre.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.http-client-google-http-client-1.34.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.http-client-google-http-client-jackson2-1.34.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.j2objc-j2objc-annotations-1.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.protobuf-protobuf-java-3.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.protobuf-protobuf-java-util-3.12.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.re2j-re2j-1.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.squareup.okhttp-okhttp-2.7.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.squareup.okio-okio-1.13.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.yahoo.datasketches-memory-0.8.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.yahoo.datasketches-sketches-core-0.8.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-cli-commons-cli-1.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-codec-commons-codec-1.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-configuration-commons-configuration-1.10.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-io-commons-io-2.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-lang-commons-lang-2.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-logging-commons-logging-1.1.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.dropwizard.metrics-metrics-core-3.2.5.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-all-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-alts-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-api-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-auth-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-context-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-core-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-grpclb-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-netty-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-okhttp-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-protobuf-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-protobuf-lite-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-services-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-stub-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-testing-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-xds-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-buffer-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-dns-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-http-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-http2-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-socks-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-common-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-handler-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-handler-proxy-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-resolver-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-resolver-dns-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-tcnative-boringssl-static-2.0.38.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-native-epoll-4.1.63.Final-linux-x86_64.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-native-epoll-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-native-unix-common-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.opencensus-opencensus-api-0.24.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.opencensus-opencensus-contrib-http-util-0.24.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.opencensus-opencensus-proto-0.2.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.perfmark-perfmark-api-0.19.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient_common-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient_hotspot-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient_servlet-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-auth-common-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-bridge-common-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-core-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-web-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/javax.servlet-javax.servlet-api-4.0.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/log4j-log4j-1.2.17.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/net.java.dev.jna-jna-3.2.7.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/net.jpountz.lz4-lz4-1.3.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-common-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-common-allocator-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-proto-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-tools-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-tools-framework-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-tools-ledger-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-circe-checksum-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-cpu-affinity-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-statelib-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-cli-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-java-client-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-service-api-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-service-impl-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.http-http-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.http-vertx-http-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.stats-bookkeeper-stats-api-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.stats-prometheus-metrics-provider-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.tests-stream-storage-tests-common-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.commons-commons-collections4-4.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.commons-commons-lang3-3.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.curator-curator-client-5.1.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.curator-curator-framework-5.1.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.curator-curator-recipes-5.1.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-common-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-core-4.14.0-tests.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-core-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-protocol-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.httpcomponents-httpclient-4.5.5.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.httpcomponents-httpcore-4.4.9.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.thrift-libthrift-0.12.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.yetus-audience-annotations-0.5.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.zookeeper-zookeeper-3.6.2-tests.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.zookeeper-zookeeper-3.6.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.zookeeper-zookeeper-jute-3.6.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.bouncycastle-bc-fips-1.0.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.checkerframework-checker-qual-3.5.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.conscrypt-conscrypt-openjdk-uber-2.5.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-http-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-io-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-security-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-server-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-servlet-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-util-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.inferred-freebuilder-1.14.9.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.jctools-jctools-core-2.1.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.rocksdb-rocksdbjni-6.16.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.slf4j-slf4j-api-1.7.25.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.slf4j-slf4j-log4j12-1.7.25.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.xerial.snappy-snappy-java-1.1.7.jar:
2022-03-03 16:36:59,263 - INFO  - [main:Environment@98] - Server environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2022-03-03 16:36:59,263 - INFO  - [main:Environment@98] - Server environment:java.io.tmpdir=/tmp
2022-03-03 16:36:59,263 - INFO  - [main:Environment@98] - Server environment:java.compiler=<NA>
2022-03-03 16:36:59,263 - INFO  - [main:Environment@98] - Server environment:os.name=Linux
2022-03-03 16:36:59,263 - INFO  - [main:Environment@98] - Server environment:os.arch=amd64
2022-03-03 16:36:59,263 - INFO  - [main:Environment@98] - Server environment:os.version=4.19.128-microsoft-standard
2022-03-03 16:36:59,263 - INFO  - [main:Environment@98] - Server environment:user.name=root
2022-03-03 16:36:59,263 - INFO  - [main:Environment@98] - Server environment:user.home=/root
2022-03-03 16:36:59,263 - INFO  - [main:Environment@98] - Server environment:user.dir=/mnt/e/devlop/envs/bookkeeper-server-4.14.0
2022-03-03 16:36:59,263 - INFO  - [main:Environment@98] - Server environment:os.memory.free=1001MB
2022-03-03 16:36:59,263 - INFO  - [main:Environment@98] - Server environment:os.memory.max=1024MB
2022-03-03 16:36:59,264 - INFO  - [main:Environment@98] - Server environment:os.memory.total=1024MB
2022-03-03 16:36:59,264 - INFO  - [main:ZooKeeperServer@129] - zookeeper.enableEagerACLCheck = false
2022-03-03 16:36:59,264 - INFO  - [main:ZooKeeperServer@137] - zookeeper.digest.enabled = true
2022-03-03 16:36:59,264 - INFO  - [main:ZooKeeperServer@141] - zookeeper.closeSessionTxn.enabled = true
2022-03-03 16:36:59,264 - INFO  - [main:ZooKeeperServer@1444] - zookeeper.flushDelay=0
2022-03-03 16:36:59,264 - INFO  - [main:ZooKeeperServer@1453] - zookeeper.maxWriteQueuePollTime=0
2022-03-03 16:36:59,264 - INFO  - [main:ZooKeeperServer@1462] - zookeeper.maxBatchSize=1000
2022-03-03 16:36:59,264 - INFO  - [main:ZooKeeperServer@243] - zookeeper.intBufferStartingSizeBytes = 1024
2022-03-03 16:36:59,278 - INFO  - [main:FileTxnSnapLog@124] - zookeeper.snapshot.trust.empty : false
2022-03-03 16:36:59,331 - INFO  - [main:WatchManagerFactory@42] - Using org.apache.zookeeper.server.watch.WatchManager as watch manager
2022-03-03 16:36:59,331 - INFO  - [main:WatchManagerFactory@42] - Using org.apache.zookeeper.server.watch.WatchManager as watch manager
2022-03-03 16:36:59,331 - INFO  - [main:ZKDatabase@132] - zookeeper.snapshotSizeFactor = 0.33
2022-03-03 16:36:59,331 - INFO  - [main:ZKDatabase@152] - zookeeper.commitLogCount=500
2022-03-03 16:36:59,344 - INFO  - [main:BlueThrottle@141] - Weighed connection throttling is disabled
2022-03-03 16:36:59,354 - INFO  - [main:ZooKeeperServer@1256] - minSessionTimeout set to 6000
2022-03-03 16:36:59,354 - INFO  - [main:ZooKeeperServer@1265] - maxSessionTimeout set to 60000
2022-03-03 16:36:59,359 - INFO  - [main:ResponseCache@45] - Response cache size is initialized with value 400.
2022-03-03 16:36:59,359 - INFO  - [main:ResponseCache@45] - Response cache size is initialized with value 400.
2022-03-03 16:36:59,361 - INFO  - [main:RequestPathMetricsCollector@111] - zookeeper.pathStats.slotCapacity = 60
2022-03-03 16:36:59,361 - INFO  - [main:RequestPathMetricsCollector@112] - zookeeper.pathStats.slotDuration = 15
2022-03-03 16:36:59,361 - INFO  - [main:RequestPathMetricsCollector@113] - zookeeper.pathStats.maxDepth = 6
2022-03-03 16:36:59,361 - INFO  - [main:RequestPathMetricsCollector@114] - zookeeper.pathStats.initialDelay = 5
2022-03-03 16:36:59,361 - INFO  - [main:RequestPathMetricsCollector@115] - zookeeper.pathStats.delay = 5
2022-03-03 16:36:59,362 - INFO  - [main:RequestPathMetricsCollector@116] - zookeeper.pathStats.enabled = false
2022-03-03 16:36:59,366 - INFO  - [main:ZooKeeperServer@1481] - The max bytes for all large requests are set to 104857600
2022-03-03 16:36:59,366 - INFO  - [main:ZooKeeperServer@1495] - The large request threshold is set to -1
2022-03-03 16:36:59,366 - INFO  - [main:ZooKeeperServer@339] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 60000 clientPortListenBacklog -1 datadir /tmp/zookeeper3757686855703902079test/version-2 snapdir /tmp/zookeeper3757686855703902079test/version-2
2022-03-03 16:36:59,388 - WARN  - [main:ServerCnxnFactory@309] - maxCnxns is not configured, using default value 0.
2022-03-03 16:36:59,397 - INFO  - [main:NioserverCnxnFactory@666] - Configuring NIO connection handler with 10s sessionless connection timeout, 1 selector thread(s), 12 worker threads, and 64 kB direct buffers.
2022-03-03 16:36:59,410 - INFO  - [main:NIOServerCnxnFactory@674] - binding to port 0.0.0.0/0.0.0.0:2181
2022-03-03 16:36:59,497 - INFO  - [main:SnapStream@61] - zookeeper.snapshot.compression.method = CHECKED
2022-03-03 16:36:59,497 - INFO  - [main:FileTxnSnapLog@470] - Snapshotting: 0x0 to /tmp/zookeeper3757686855703902079test/version-2/snapshot.0
2022-03-03 16:36:59,506 - INFO  - [main:ZKDatabase@289] - Snapshot loaded in 86 ms, highest zxid is 0x0, digest is 1371985504
2022-03-03 16:36:59,507 - INFO  - [main:FileTxnSnapLog@470] - Snapshotting: 0x0 to /tmp/zookeeper3757686855703902079test/version-2/snapshot.0
2022-03-03 16:36:59,507 - INFO  - [main:ZooKeeperServer@529] - Snapshot taken in 0 ms
2022-03-03 16:36:59,551 - INFO  - [main:RequestThrottler@74] - zookeeper.request_throttler.shutdownTimeout = 10000
2022-03-03 16:36:59,553 - INFO  - [ProcessThread(sid:0 cport:2181)::PrepRequestProcessor@136] - PrepRequestProcessor (sid:0) started, reconfigEnabled=false
2022-03-03 16:36:59,602 - INFO  - [NIOWorkerThread-1:FourLetterCommands@223] - The list of known four letter word commands is : [1936881266=srvr, 1937006964=stat, 2003003491=wchc, 1685417328=dump, 1668445044=crst, 1936880500=srst, 1701738089=envi, 1668247142=conf, -720899=telnet close, 1751217000=hash, 2003003507=wchs, 2003003504=wchp, 1684632179=dirs, 1668247155=cons, 1835955314=mntr, 1769173615=isro, 1920298859=ruok, 1735683435=gtmk, 1937010027=stmk]
2022-03-03 16:36:59,602 - INFO  - [NIOWorkerThread-1:FourLetterCommands@224] - The list of enabled four letter word commands is : [[wchs, stat, wchp, dirs, stmk, conf, ruok, mntr, srvr, wchc, envi, srst, isro, dump, gtmk, telnet close, crst, hash, cons]]
2022-03-03 16:36:59,602 - INFO  - [NIOWorkerThread-1:NIOServerCnxn@507] - Processing stat command from /127.0.0.1:59054
2022-03-03 16:36:59,632 - INFO  - [NIOWorkerThread-1:StatCommand@52] - Stat command output
2022-03-03 16:36:59,632 - INFO  - [main:LocalBookKeeper@513] - Server UP
2022-03-03 16:36:59,632 - INFO  - [main:LocalBookKeeper@134] - Instantiate ZK Client
2022-03-03 16:36:59,649 - INFO  - [main:Environment@98] - Client environment:zookeeper.version=3.6.2--803c7f1a12f85978cb049af5e4ef23bd8b688715, built on 09/04/2020 12:44 GMT
2022-03-03 16:36:59,650 - INFO  - [main:Environment@98] - Client environment:host.name=DESKTOP-2J030JA.localdomain
2022-03-03 16:36:59,650 - INFO  - [main:Environment@98] - Client environment:java.version=1.8.0_292
2022-03-03 16:36:59,650 - INFO  - [main:Environment@98] - Client environment:java.vendor=AdoptOpenJDK
2022-03-03 16:36:59,650 - INFO  - [main:Environment@98] - Client environment:java.home=/root/.sdkman/candidates/java/8.0.292.hs-adpt/jre
2022-03-03 16:36:59,650 - INFO  - [main:Environment@98] - Client environment:java.class.path=/mnt/e/devlop/envs/bookkeeper-server-4.14.0/conf:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-server-4.14.0.jar::/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.beust-jcommander-1.78.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.fasterxml.jackson.core-jackson-annotations-2.11.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.fasterxml.jackson.core-jackson-core-2.11.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.fasterxml.jackson.core-jackson-databind-2.11.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.android-annotations-4.1.1.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.api.grpc-proto-google-common-protos-1.17.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.auth-google-auth-library-credentials-0.20.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.auth-google-auth-library-oauth2-http-0.20.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.auto.value-auto-value-annotations-1.7.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.code.gson-gson-2.8.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.errorprone-error_prone_annotations-2.4.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.guava-failureaccess-1.0.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.guava-guava-30.0-jre.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.http-client-google-http-client-1.34.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.http-client-google-http-client-jackson2-1.34.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.j2objc-j2objc-annotations-1.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.protobuf-protobuf-java-3.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.protobuf-protobuf-java-util-3.12.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.google.re2j-re2j-1.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.squareup.okhttp-okhttp-2.7.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.squareup.okio-okio-1.13.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.yahoo.datasketches-memory-0.8.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/com.yahoo.datasketches-sketches-core-0.8.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-cli-commons-cli-1.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-codec-commons-codec-1.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-configuration-commons-configuration-1.10.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-io-commons-io-2.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-lang-commons-lang-2.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/commons-logging-commons-logging-1.1.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.dropwizard.metrics-metrics-core-3.2.5.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-all-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-alts-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-api-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-auth-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-context-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-core-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-grpclb-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-netty-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-okhttp-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-protobuf-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-protobuf-lite-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-services-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-stub-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-testing-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.grpc-grpc-xds-1.33.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-buffer-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-dns-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-http-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-http2-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-codec-socks-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-common-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-handler-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-handler-proxy-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-resolver-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-resolver-dns-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-tcnative-boringssl-static-2.0.38.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-native-epoll-4.1.63.Final-linux-x86_64.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-native-epoll-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.netty-netty-transport-native-unix-common-4.1.63.Final.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.opencensus-opencensus-api-0.24.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.opencensus-opencensus-contrib-http-util-0.24.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.opencensus-opencensus-proto-0.2.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.perfmark-perfmark-api-0.19.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient_common-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient_hotspot-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.prometheus-simpleclient_servlet-0.8.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-auth-common-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-bridge-common-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-core-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/io.vertx-vertx-web-3.5.3.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/javax.servlet-javax.servlet-api-4.0.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/log4j-log4j-1.2.17.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/net.java.dev.jna-jna-3.2.7.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/net.jpountz.lz4-lz4-1.3.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-common-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-common-allocator-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-proto-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-tools-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-tools-framework-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-bookkeeper-tools-ledger-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-circe-checksum-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-cpu-affinity-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-statelib-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-cli-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-java-client-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-service-api-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper-stream-storage-service-impl-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.http-http-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.http-vertx-http-server-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.stats-bookkeeper-stats-api-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.stats-prometheus-metrics-provider-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.bookkeeper.tests-stream-storage-tests-common-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.commons-commons-collections4-4.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.commons-commons-lang3-3.6.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.curator-curator-client-5.1.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.curator-curator-framework-5.1.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.curator-curator-recipes-5.1.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-common-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-core-4.14.0-tests.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-core-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.distributedlog-distributedlog-protocol-4.14.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.httpcomponents-httpclient-4.5.5.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.httpcomponents-httpcore-4.4.9.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.thrift-libthrift-0.12.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.yetus-audience-annotations-0.5.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.zookeeper-zookeeper-3.6.2-tests.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.zookeeper-zookeeper-3.6.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.apache.zookeeper-zookeeper-jute-3.6.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.bouncycastle-bc-fips-1.0.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.checkerframework-checker-qual-3.5.0.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.conscrypt-conscrypt-openjdk-uber-2.5.1.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-http-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-io-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-security-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-server-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-servlet-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.eclipse.jetty-jetty-util-9.4.33.v20201020.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.inferred-freebuilder-1.14.9.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.jctools-jctools-core-2.1.2.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.rocksdb-rocksdbjni-6.16.4.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.slf4j-slf4j-api-1.7.25.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.slf4j-slf4j-log4j12-1.7.25.jar:/mnt/e/devlop/envs/bookkeeper-server-4.14.0/lib/org.xerial.snappy-snappy-java-1.1.7.jar:
2022-03-03 16:36:59,652 - INFO  - [main:Environment@98] - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2022-03-03 16:36:59,653 - INFO  - [main:Environment@98] - Client environment:java.io.tmpdir=/tmp
2022-03-03 16:36:59,653 - INFO  - [main:Environment@98] - Client environment:java.compiler=<NA>
2022-03-03 16:36:59,653 - INFO  - [main:Environment@98] - Client environment:os.name=Linux
2022-03-03 16:36:59,653 - INFO  - [main:Environment@98] - Client environment:os.arch=amd64
2022-03-03 16:36:59,653 - INFO  - [main:Environment@98] - Client environment:os.version=4.19.128-microsoft-standard
2022-03-03 16:36:59,653 - INFO  - [main:Environment@98] - Client environment:user.name=root
2022-03-03 16:36:59,653 - INFO  - [main:Environment@98] - Client environment:user.home=/root
2022-03-03 16:36:59,653 - INFO  - [main:Environment@98] - Client environment:user.dir=/mnt/e/devlop/envs/bookkeeper-server-4.14.0
2022-03-03 16:36:59,653 - INFO  - [main:Environment@98] - Client environment:os.memory.free=984MB
2022-03-03 16:36:59,653 - INFO  - [main:Environment@98] - Client environment:os.memory.max=1024MB
2022-03-03 16:36:59,653 - INFO  - [main:Environment@98] - Client environment:os.memory.total=1024MB
2022-03-03 16:36:59,681 - INFO  - [main:ZooKeeper@1006] - Initiating client connection, connectString=127.0.0.1:2181 sessionTimeoutBookKeeper 原理浅谈

Apache BookKeeper 4.13.0 发布

5张图带你了解Pulsar的存储引擎BookKeeper

pulsar 是不是支持不同集群中的多个 bookkeeper 副本

Pulsar 的消息存储机制和 Bookie 的 GC 机制原理

5 张图带你了解 Pulsar 的存储引擎 BookKeeper