FrankYang0529 commented on PR #19543:
URL: https://github.com/apache/kafka/pull/19543#issuecomment-2826303172

   1. Start server.
   ```
   ./gradlew clean build -x test
   rm -rf /tmp/kraft-combined-logs
   sed -i '' 
's/controller.quorum.bootstrap.servers=localhost:9093/controller.quorum.voters=1@localhost:9093/'
 config/server.properties
   ./bin/kafka-storage.sh format -t "zuV6tFqAQhSGfFe97O-9cw" --config 
./config/server.properties
   ./bin/kafka-server-start.sh ./config/server.properties
   ```
   
   2. Check output.
   ```
   > ./bin/kafka-metadata-quorum.sh --bootstrap-controller localhost:9093 
describe --status
   ClusterId:              zuV6tFqAQhSGfFe97O-9cw
   LeaderId:               1
   LeaderEpoch:            1
   HighWatermark:          19
   MaxFollowerLag:         0
   MaxFollowerLagTimeMs:   0
   CurrentVoters:          [{"id": 1, "endpoints": 
["CONTROLLER://localhost:9093"]}]
   CurrentObservers:       []
   ```


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to