commit | 5741f052d4fd17690a21d2ca5071fe190e0cdaa0 | [log] [tgz] |
---|---|---|
author | Enrico Olivelli <eolivelli@gmail.com> | Mon Dec 07 03:49:19 2020 +0100 |
committer | GitHub <noreply@github.com> | Sun Dec 06 18:49:19 2020 -0800 |
tree | 6ce98d4e5c5ccf8111b346f4631875c0b6f1bb13 | |
parent | 79cbf19a449a2dc96745fc563a489375b0846a09 [diff] |
Start HTTP Server in Bookie Standlone Mode (#2496) ### Motivation - when you launch "bookkeeper standalone" service the system does not take into account the HTTP Server configuration - the HTTP Server is important because it allows to use the HTTP API https://bookkeeper.apache.org/docs/latest/admin/http/ - the standalone service is very useful when you are working on client applications (like BKVM) ### Changes - consider HTTP server configuration in 'bin/bookkeeper standalone' command - add default example configuration - add VertxHttpServer to dependencies of Standalone Module - the change is basically a copy and paste of this part of Main.java, but applied to the Main class of the Standalone Starter, which is a separate code: https://github.com/apache/bookkeeper/blob/master/bookkeeper-server/src/main/java/org/apache/bookkeeper/server/Main.java#L327 ## Verify this change After this change when you run "bookkeeper standalone" the HTTP API will be enabled For instance you can check the Bookie API with http://localhost:8080/api/v1/bookie/info
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:
You can also read Turning Ledgers into Logs to learn how to turn ledgers into continuous log streams. If you are looking for a high level log stream API, you can checkout DistributedLog.
For filing bugs, suggesting improvements, or requesting new features, help us out by opening a Github issue or opening an Apache jira.
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.
We feel that a welcoming open community is important and welcome contributions.
See Developer Setup to get your local environment setup.
Take a look at our open issues: JIRA Issues Github Issues.
Review our coding style and follow our pull requests to learn about our conventions.
Make your changes according to our contribution guide.