zqr10159 opened a new pull request, #2704: URL: https://github.com/apache/hertzbeat/pull/2704
## What's changed? fix(mongodb): allow anonymous access for MongoDB Atlas and standalone instances Remove the mandatory requirements for username and password when connecting to MongoDB Atlas and standalone MongoDB instances. This change supports scenarios where anonymous access is intended, providing more flexible connection options for MongoDB data source collection in the HertzBeat project. ## Checklist - [ ] I have read the [Contributing Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide) - [ ] I have written the necessary doc or comment. - [ ] I have added the necessary unit tests and all cases have passed. ## Add or update API - [ ] I have added the necessary [e2e tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have passed. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
