tuteng opened a new pull request #5008: [Pulsar IO]Support reload Source and Sink for Pulsar IO URL: https://github.com/apache/pulsar/pull/5008 Fixes: https://github.com/apache/pulsar/issues/4904 Master Issue: https://github.com/apache/pulsar/issues/4904 ### Motivation At present, pulsar can only load the built-in connector when starting the service, but some users want to automatically load the feature of the connector, which is very useful when adding, updating and deleting the built-in connector. ### Modifications * Add reload rest API for source and sink ### Verifying this change I haven't found an automated integration testing method for this API. If there is a better method, please let me know. I just verified it in the following way: ``` ./bin/pulsar-admin sources available-sources mv pulsar-io-debezium-mysql-2.4.0.nar ./connectors ./bin/pulsar-admin sources reload ./bin/pulsar-admin sources available-sources ./bin/pulsar-admin sinks available-sinks mv pulsar-io-jdbc-2.4.0.nar ./connectors ./bin/pulsar-admin sinks reload ./bin/pulsar-admin sinks available-sinks ``` ### Documentation - Does this pull request introduce a new feature? (`yes` / no) - If yes, how is the feature documented? (not applicable /` docs` / JavaDocs / not documented) - If a feature is not applicable for documentation, explain why? - If a feature is not documented yet in this PR, please create a followup issue for adding the documentation
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services