[issue 8337][Worker] Move initialize dlog namespace metadata to bin/pulsar - #8781
Conversation
sijie
left a comment
There was a problem hiding this comment.
Overall the change looks good to me. I left two comments. PTAL.
6423e6a to
2b1a216
Compare
dcc634c to
4f5d8d5
Compare
|
ping @nodece |
4f5d8d5 to
20bb187
Compare
|
We may need to consider adding some documentation on how to use this command @jennifer88huang |
Signed-off-by: Zixuan Liu <nodeces@gmail.com>
20bb187 to
c341217
Compare
|
@tuteng @jennifer88huang thanks, I did update at #8781 (comment), but I'm not sure what to add document to the official website. |
|
@tuteng @jennifer88huang once pr is merged, I will make a new PR for this doc. |
|
/pulsarbot run-failure-checks |
That's great, thank you. |
|
/pulsarbot run-failure-checks |
1 similar comment
|
/pulsarbot run-failure-checks |
|
/pulsarbot run-failure-checks |
1 similar comment
|
/pulsarbot run-failure-checks |
|
@jennifer88huang I made a PR for document: #9185. |
|
@codelipenghui Thanks, move this pr to 2.8.0, delete label release/2.7.1 |
|
@nodece Just a soft reminder. We still need to add doc for the update in this pr.
|
|
@Anonymitaet It seems so. Thanks for reminding me. |
Fixes #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
./bin/pulsar initialize-cluster-metadataconf/functions_worker.ymlDoc
If you want to initialize distributed log metadata by
bin/pulsar, you need to perform the following steps:./bin/pulsar initialize-cluster-metadatato initialize clustertrueinfunctions_worker.ymlNote: All the changes are compatible.
Verifying this change