tuteng opened a new pull request #5557: Fix api healthcheck
URL: https://github.com/apache/pulsar/pull/5557
 
 
   
   
   Fixes https://github.com/apache/pulsar/issues/4790
   
   
   Master Issue: https://github.com/apache/pulsar/issues/4790
   
   ### Motivation
   Currently, when the brokerDeleteInactiveTopicsEnabled policy is enabled, the 
topic pulsar/standalone/127.0.0.1:8080/healthcheck will be deleted 
periodically, resulting in inconsistent schema versions. Throwing exceptions of 
schema badversion.
   ### Modifications
   
   * Add a schema class to support not saving schemaInfo.
   
   ### Verifying this change
   
   * Add Unit Test
   
   ```
   ./bin/pulsar standalone -nss -a 127.0.0.1
   curl -v http://127.0.0.1:8080/admin/v2/brokers/health
   
   # Waiting for more than 60 seconds, waiting for the topic 
pulsar/standalone/127.0.0.1:8080/healthcheck to be deleted
   
   curl -v http://127.0.0.1:8080/admin/v2/brokers/health
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to