forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[issue 8337][Worker] Move initialize dlog namespace metadata to bin/p…
…ulsar (apache#8781) Fixes apache#8337 ### Motivation Currently, the starting function worker service will initialize the distributed log namespace. when initializing the distributed log namespace, the zookeeper will be connected. A better way is to implement a tool to initialize the distributed log namespace, which is similar to `./bin/pulsar initialize-cluster-metadata`. ### Modifications - Add init distributed log namespace metadata to `./bin/pulsar initialize-cluster-metadata` - Add flag to control whether the distributed log namespace is initialized in Function worker - Add flag to `conf/functions_worker.yml` ### Doc If you want to initialize distributed log metadata by `bin/pulsar`, you need to perform the following steps: 1. Using `./bin/pulsar initialize-cluster-metadata` to initialize cluster 2. Set initializedDlogMetadata to `true` in `functions_worker.yml` **Note**: All the changes are compatible.
- Loading branch information
Showing
5 changed files
with
63 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters