{"id":34936887,"url":"https://github.com/microsphere-projects/microsphere-alibaba-druid","last_synced_at":"2026-05-24T12:02:30.483Z","repository":{"id":277468257,"uuid":"932521654","full_name":"microsphere-projects/microsphere-alibaba-druid","owner":"microsphere-projects","description":"The microsphere projects for Alibaba's Druid","archived":false,"fork":false,"pushed_at":"2026-05-17T15:15:06.000Z","size":434,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-17T16:48:35.773Z","etag":null,"topics":["alibaba-druid","cloud-native","druid","java","jdbc","microservices","microsphere","sql"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microsphere-projects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-14T03:35:34.000Z","updated_at":"2026-05-17T15:15:10.000Z","dependencies_parsed_at":"2025-02-14T04:28:38.397Z","dependency_job_id":"a2f2b05f-9c70-4b1a-8b1e-52e630f1d812","html_url":"https://github.com/microsphere-projects/microsphere-alibaba-druid","commit_stats":null,"previous_names":["microsphere-projects/microsphere-alibaba-druid"],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/microsphere-projects/microsphere-alibaba-druid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsphere-projects%2Fmicrosphere-alibaba-druid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsphere-projects%2Fmicrosphere-alibaba-druid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsphere-projects%2Fmicrosphere-alibaba-druid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsphere-projects%2Fmicrosphere-alibaba-druid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsphere-projects","download_url":"https://codeload.github.com/microsphere-projects/microsphere-alibaba-druid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsphere-projects%2Fmicrosphere-alibaba-druid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33432867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"online","status_checked_at":"2026-05-24T02:00:06.296Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alibaba-druid","cloud-native","druid","java","jdbc","microservices","microsphere","sql"],"created_at":"2025-12-26T18:16:20.014Z","updated_at":"2026-05-24T12:02:30.478Z","avatar_url":"https://github.com/microsphere-projects.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microsphere [Alibaba Druid](https://github.com/alibaba/druid)\n\n\u003e Microsphere Projects for [Alibaba Druid](https://github.com/alibaba/druid)\n\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/microsphere-projects/microsphere-alibaba-druid)\n[![zread](https://img.shields.io/badge/Ask_Zread-_.svg?style=flat\u0026color=00b0aa\u0026labelColor=000000\u0026logo=data%3Aimage%2Fsvg%2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M5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K\u0026logoColor=ffffff)](https://zread.ai/microsphere-projects/microsphere-alibaba-druid)\n[![Maven Build](https://github.com/microsphere-projects/microsphere-alibaba-druid/actions/workflows/maven-build.yml/badge.svg)](https://github.com/microsphere-projects/microsphere-alibaba-druid/actions/workflows/maven-build.yml)\n[![Codecov](https://codecov.io/gh/microsphere-projects/microsphere-alibaba-druid/branch/dev/graph/badge.svg)](https://app.codecov.io/gh/microsphere-projects/microsphere-alibaba-druid)\n![Maven](https://img.shields.io/maven-central/v/io.github.microsphere-projects/microsphere-alibaba-druid-dependencies.svg)\n![License](https://img.shields.io/github/license/microsphere-projects/microsphere-alibaba-druid.svg)\n\nMicrosphere Alibaba Druid is a specialized integration project that\nenhances [Alibaba Druid](https://github.com/alibaba/druid), a high-performance JDBC connection pool, with powerful SQL\nstatement interception capabilities. It enables developers to monitor, log, and control SQL execution at a granular\nlevel across different Spring ecosystems, which supports the extension features that would be used\nfor [Microsphere Sentinel](https://github.com/microsphere-projects/microsphere-sentinel),[Microsphere Resilience4j](https://github.com/microsphere-projects/microsphere-resilience4j), [Microsphere Observability](https://github.com/microsphere-projects/microsphere-observability)\nand so on.\n\n## Purpose and Scope\n\nThe project extends Druid's capabilities with Spring Framework integration, auto-configuration, and enhanced monitoring\nfeatures that integrate with the broader Microsphere ecosystem:\n\n- Interception on executing the SQL Statements\n- Logging the SQL Statements\n\n## Modules\n\n| **Module**                                 | **Purpose**                                             |\n|--------------------------------------------|---------------------------------------------------------|\n| **microsphere-alibaba-druid-core**         | Foundation classes and filters for Druid integration    |\n| **microsphere-alibaba-druid-spring**       | Spring Framework integration and configuration          |\n| **microsphere-alibaba-druid-spring-boot**  | Spring Boot auto-configuration and properties           |\n| **microsphere-alibaba-druid-spring-cloud** | Spring Cloud features and service discovery integration |\n| **microsphere-alibaba-druid-test**         | Base testing utilities and infrastructure               |\n| **microsphere-alibaba-druid-spring-test**  | Spring-specific testing utilities                       |\n| **microsphere-alibaba-druid-dependencies** | Bill of Materials (BOM) for dependency management       |\n\n## Getting Started\n\nThe easiest way to get started is by adding the Microsphere Alibaba Druid BOM (Bill of Materials) to your project's\npom.xml:\n\n```xml\n\n\u003cdependencyManagement\u003e\n    \u003cdependencies\u003e\n        ...\n        \u003c!-- Microsphere Alibaba Druid Dependencies --\u003e\n        \u003cdependency\u003e\n            \u003cgroupId\u003eio.github.microsphere-projects\u003c/groupId\u003e\n            \u003cartifactId\u003emicrosphere-alibaba-druid-dependencies\u003c/artifactId\u003e\n            \u003cversion\u003e${microsphere-alibaba-druid.version}\u003c/version\u003e\n            \u003ctype\u003epom\u003c/type\u003e\n            \u003cscope\u003eimport\u003c/scope\u003e\n        \u003c/dependency\u003e\n        ...\n    \u003c/dependencies\u003e\n\u003c/dependencyManagement\u003e\n```\n\n`${microsphere-alibaba-druid.version}` has two branches:\n\n| **Branches** | **Purpose**                                      | **Latest Version** |\n|--------------|--------------------------------------------------|--------------------|\n| **main**     | Compatible with Spring Cloud 2022.0.x - 2025.0.x | 0.2.10             |\n| **1.x**      | Compatible with Spring Cloud Hoxton - 2021.0.x   | 0.1.10             |\n\nThen add the specific modules you need.\n\n### Maven Dependencies\n\n```xml\n\n\u003cdependencies\u003e\n    \u003c!-- Microsphere Alibaba Druid Spring Cloud --\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eio.github.microsphere-projects\u003c/groupId\u003e\n        \u003cartifactId\u003emicrosphere-alibaba-druid-spring-cloud\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n### Gradle Dependencies\n\n```kotlin\nimplementation(platform(\"io.github.microsphere-projects:microsphere-alibaba-druid-dependencies:0.0.1\"))\n```\n\n## Building from Source\n\nYou don't need to build from source unless you want to try out the latest code or contribute to the project.\n\nTo build the project, follow these steps:\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/microsphere-projects/microsphere-alibaba-druid.git\n```\n\n2. Build the source:\n\n- Linux/MacOS:\n\n```bash\n./gradlew build\n```\n\n- Windows:\n\n```powershell\ngradlew.bat build\n```\n\n## Contributing\n\nWe welcome your contributions! Please read [Code of Conduct](./CODE_OF_CONDUCT.md) before submitting a pull request.\n\n## Reporting Issues\n\n* Before you log a bug, please search\n  the [issues](https://github.com/microsphere-projects/microsphere-alibaba-druid/issues)\n  to see if someone has already reported the problem.\n* If the issue doesn't already\n  exist, [create a new issue](https://github.com/microsphere-projects/microsphere-alibaba-druid/issues/new).\n* Please provide as much information as possible with the issue report.\n\n## Documentation\n\n### User Guide\n\n[DeepWiki Host](https://deepwiki.com/microsphere-projects/microsphere-alibaba-druid)\n\n[ZRead Host](https://zread.ai/microsphere-projects/microsphere-alibaba-druid)\n\n### Wiki\n\n[Github Host](https://github.com/microsphere-projects/microsphere-alibaba-druid/wiki)\n\n### JavaDoc\n\n- [microsphere-alibaba-druid-core](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-alibaba-druid-core)\n- [microsphere-alibaba-druid-spring](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-alibaba-druid-spring)\n- [microsphere-alibaba-druid-spring-boot](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-alibaba-druid-spring-boot)\n- [microsphere-alibaba-druid-spring-cloud](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-alibaba-druid-spring-cloud)\n- [microsphere-alibaba-druid-test](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-alibaba-druid-test)\n- [microsphere-alibaba-druid-spring-test](https://javadoc.io/doc/io.github.microsphere-projects/microsphere-alibaba-druid-spring-test)\n\n## License\n\nMicrosphere Alibaba Druid is licensed under\nthe [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosphere-projects%2Fmicrosphere-alibaba-druid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosphere-projects%2Fmicrosphere-alibaba-druid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosphere-projects%2Fmicrosphere-alibaba-druid/lists"}