liangyepianzhou commented on issue #20851: URL: https://github.com/apache/pulsar/issues/20851#issuecomment-1647190584
Are you using standalone or cluster? For standalone, you should use the following command to init transaction metadata. See details at https://pulsar.apache.org/docs/3.0.x/txn-use/ ```shell bin/pulsar initialize-transaction-coordinator-metadata -cs 127.0.0.1:2181 -c standalone ``` For cluster, you can use the following command to init the cluster metadata. ```shell bin/pulsar initialize-cluster-metadata \ --cluster cluster-a \ --zookeeper 127.0.0.1:2181 \ --configuration-store 127.0.0.1:2181 \ --web-service-url http://127.0.0.1:8080 \ --broker-service-url pulsar://127.0.0.1:6650 \ --web-service-url-tls https://127.0.0.1:8443 \ --broker-service-url-tls pulsar+ssl://127.0.0.1:6651\ --initial-num-transaction-coordinators 20 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
