Apache BookKeeper - a scalable, fault tolerant and low latency storage service optimized for append-only workloads
Apache BookKeeper is a scalable, fault-tolerant and low latency storage service optimized for append-only workloads.
It is suitable for being used in following scenarios:
- WAL (Write-Ahead-Logging), e.g. HDFS NameNode, Pravega.
- Message Store, e.g. Apache Pulsar.
- Offset/Cursor Store, e.g. Apache Pulsar.
- Object/Blob Store, e.g. storing state machine snapshots.
- Checkout the project website.
- Concepts: Start with the basic concepts of Apache BookKeeper. This will help you to fully understand the other parts of the documentation.
- Follow the Installation guide to set up BookKeeper.
Please visit the Documentation from the project website for more information.
For filing bugs, suggesting improvements, or requesting new features, help us out by opening a GitHub issue.
Subscribe or mail the user@bookkeeper.apache.org list - Ask questions, find answers, and also help other users.
Subscribe or mail the dev@bookkeeper.apache.org list - Join development discussions, propose new ideas and connect with contributors.
Join us on Slack - This is the most immediate way to connect with Apache BookKeeper committers and contributors.
from https://github.com/apache/bookkeeper
------
BookKeeper installation
You can install BookKeeper either by downloading a GZipped tarball package, using the Docker image or cloning the BookKeeper repository.
Requirements
Download
You can download Apache BookKeeper releases from the Download page.
Clone
To build BookKeeper from source, clone the repository from the GitHub mirror:
$ git clone https://github.com/apache/bookkeeper
Build using Maven
Once you have the BookKeeper on your local machine, either by downloading or cloning it, you can then build BookKeeper from source using Maven:
$ mvn package
Since 4.8.0, bookkeeper introduces table service
. If you would like to build and tryout table service, you can build it with stream
profile.
$ mvn package -Dstream
You can skip tests by adding the
-DskipTests
flag when runningmvn package
.
Useful Maven commands
Some other useful Maven commands beyond mvn package
:
Command | Action |
---|---|
mvn clean | Removes build artifacts |
mvn compile | Compiles JAR files from Java sources |
mvn compile spotbugs:spotbugs | Compile using the Maven SpotBugs plugin |
mvn install | Install the BookKeeper JAR locally in your local Maven cache (usually in the ~/.m2 directory) |
mvn deploy | Deploy the BookKeeper JAR to the Maven repo (if you have the proper credentials) |
mvn verify | Performs a wide variety of verification and validation tasks |
mvn apache-rat:check | Run Maven using the Apache Rat plugin |
mvn compile javadoc:aggregate | Build Javadocs locally |
mvn -am -pl bookkeeper-dist/server package | Build a server distribution using the Maven Assembly plugin |
You can enable
table service
by adding the-Dstream
flag when running above commands.
from https://bookkeeper.apache.org/docs/getting-started/installation/
No comments:
Post a Comment