{"adoption": {"forks": 1240, "observed_at": "2026-08-28T04:09:11.845542+00:00", "stars": 5184}, "canonical_url": "https://ross.abutalabs.com/products/dynamic-datasource", "card": {"archived": false, "artifact_type": "library", "description": "dynamic datasource for springboot 多数据源 动态数据源 主从分离 读写分离 分布式事务 ", "domain": ["databases", "backend", "web-development", "developer-tools"], "enriched": true, "function": ["database", "database-driver", "middleware", "configuration-management"], "health_score": 85, "homepage": "https://doc.xiuceyun.cn", "language": "Java", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["baomidou/dynamic-datasource"], "name": "baomidou/dynamic-datasource", "platform": ["jvm"], "pushed_at": "2026-04-28T03:02:17+00:00", "repo": "baomidou/dynamic-datasource", "stars": 5184, "tags": ["spring-boot-starter", "mybatis", "read-write-splitting", "multi-datasource", "seata", "distributed-transaction", "master-slave", "spring-boot"], "topics": ["dynamicdatasource", "springboot", "multidatasource", "distributed-transaction", "datasource", "spring-boot", "mybatis", "multi-datasource", "dynamic-datasource"], "urls": [], "use_cases": ["connect to multiple databases in a spring boot app", "implement read-write splitting with master and slave databases", "switch datasources dynamically at runtime with annotations", "manage distributed transactions across multiple datasources with seata", "load balance queries across a group of replica databases", "encrypt database credentials in spring boot configuration", "add or remove datasources without restarting the application"], "what_it_is": "A Spring Boot starter that enables rapid integration of multiple, dynamically switchable data sources in Java applications. It supports datasource grouping, read/write splitting, master-slave setups, lazy loading, encrypted credentials, and Seata-based distributed transactions.", "when_to_avoid": ["you are not on the JVM/Spring Boot stack", "you need full SQL sharding rather than simple datasource switching - consider ShardingSphere", "you need a framework-agnostic solution outside Spring's ecosystem"], "when_to_choose": ["you use Spring Boot with Mybatis or Mybatis-Plus and need multiple databases", "you want annotation-based datasource switching with read/write splitting", "you need Seata-based distributed transactions across datasources", "you want lazy datasource creation or runtime datasource management"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/dynamic-datasource", "repo": "baomidou/dynamic-datasource", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.845542+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:01:47.037141+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33963a235dd031557fdedd3d34638559a3548b24ac8db525533b321e7bfbbbb0", "fetched_at": "2026-08-28T04:09:11.845542+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baomidou/dynamic-datasource"}, {"content_hash": "5fc43ddc39e77e85aab8b2c8bfccb1e3cfab7429443b80aa777b3b997487fd23", "fetched_at": "2026-08-29T08:55:38.847590+00:00", "kind": "homepage", "missing": false, "url": "https://doc.xiuceyun.cn"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.845542+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:01:47.037141+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33963a235dd031557fdedd3d34638559a3548b24ac8db525533b321e7bfbbbb0", "fetched_at": "2026-08-28T04:09:11.845542+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baomidou/dynamic-datasource"}, {"content_hash": "5fc43ddc39e77e85aab8b2c8bfccb1e3cfab7429443b80aa777b3b997487fd23", "fetched_at": "2026-08-29T08:55:38.847590+00:00", "kind": "homepage", "missing": false, "url": "https://doc.xiuceyun.cn"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:01:47.037141+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33963a235dd031557fdedd3d34638559a3548b24ac8db525533b321e7bfbbbb0", "fetched_at": "2026-08-28T04:09:11.845542+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baomidou/dynamic-datasource"}, {"content_hash": "5fc43ddc39e77e85aab8b2c8bfccb1e3cfab7429443b80aa777b3b997487fd23", "fetched_at": "2026-08-29T08:55:38.847590+00:00", "kind": "homepage", "missing": false, "url": "https://doc.xiuceyun.cn"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.845542+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.845542+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.845542+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:01:47.037141+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33963a235dd031557fdedd3d34638559a3548b24ac8db525533b321e7bfbbbb0", "fetched_at": "2026-08-28T04:09:11.845542+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baomidou/dynamic-datasource"}, {"content_hash": "5fc43ddc39e77e85aab8b2c8bfccb1e3cfab7429443b80aa777b3b997487fd23", "fetched_at": "2026-08-29T08:55:38.847590+00:00", "kind": "homepage", "missing": false, "url": "https://doc.xiuceyun.cn"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.845542+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.845542+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:01:47.037141+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33963a235dd031557fdedd3d34638559a3548b24ac8db525533b321e7bfbbbb0", "fetched_at": "2026-08-28T04:09:11.845542+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baomidou/dynamic-datasource"}, {"content_hash": "5fc43ddc39e77e85aab8b2c8bfccb1e3cfab7429443b80aa777b3b997487fd23", "fetched_at": "2026-08-29T08:55:38.847590+00:00", "kind": "homepage", "missing": false, "url": "https://doc.xiuceyun.cn"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.845542+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.845542+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.845542+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:01:47.037141+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33963a235dd031557fdedd3d34638559a3548b24ac8db525533b321e7bfbbbb0", "fetched_at": "2026-08-28T04:09:11.845542+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baomidou/dynamic-datasource"}, {"content_hash": "5fc43ddc39e77e85aab8b2c8bfccb1e3cfab7429443b80aa777b3b997487fd23", "fetched_at": "2026-08-29T08:55:38.847590+00:00", "kind": "homepage", "missing": false, "url": "https://doc.xiuceyun.cn"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.845542+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.845542+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:01:47.037141+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33963a235dd031557fdedd3d34638559a3548b24ac8db525533b321e7bfbbbb0", "fetched_at": "2026-08-28T04:09:11.845542+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baomidou/dynamic-datasource"}, {"content_hash": "5fc43ddc39e77e85aab8b2c8bfccb1e3cfab7429443b80aa777b3b997487fd23", "fetched_at": "2026-08-29T08:55:38.847590+00:00", "kind": "homepage", "missing": false, "url": "https://doc.xiuceyun.cn"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:01:47.037141+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33963a235dd031557fdedd3d34638559a3548b24ac8db525533b321e7bfbbbb0", "fetched_at": "2026-08-28T04:09:11.845542+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baomidou/dynamic-datasource"}, {"content_hash": "5fc43ddc39e77e85aab8b2c8bfccb1e3cfab7429443b80aa777b3b997487fd23", "fetched_at": "2026-08-29T08:55:38.847590+00:00", "kind": "homepage", "missing": false, "url": "https://doc.xiuceyun.cn"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:01:47.037141+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33963a235dd031557fdedd3d34638559a3548b24ac8db525533b321e7bfbbbb0", "fetched_at": "2026-08-28T04:09:11.845542+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baomidou/dynamic-datasource"}, {"content_hash": "5fc43ddc39e77e85aab8b2c8bfccb1e3cfab7429443b80aa777b3b997487fd23", "fetched_at": "2026-08-29T08:55:38.847590+00:00", "kind": "homepage", "missing": false, "url": "https://doc.xiuceyun.cn"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:01:47.037141+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "33963a235dd031557fdedd3d34638559a3548b24ac8db525533b321e7bfbbbb0", "fetched_at": "2026-08-28T04:09:11.845542+00:00", "kind": "readme", "missing": false, "url": "https://github.com/baomidou/dynamic-datasource"}, {"content_hash": "5fc43ddc39e77e85aab8b2c8bfccb1e3cfab7429443b80aa777b3b997487fd23", "fetched_at": "2026-08-29T08:55:38.847590+00:00", "kind": "homepage", "missing": false, "url": "https://doc.xiuceyun.cn"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 79, "longevity": 100, "rhythm": 34}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3050, "days_push": 127, "days_rel": 225, "gap_med": null, "n_releases_24m": 1}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}