Optional Plugins
ShardingSphere only includes the implementation of the core SPI by default, and there is a part of the SPI that contains third-party dependencies in Git Source Implemented plugins are not included. Retrievable at https://central.sonatype.com/.
SPI and existing implementation classes of SPI corresponding to all plugins can be retrieved at https://shardingsphere.apache.org/document/current/cn/dev-manual/.
All the built-in plugins for ShardingSphere-JDBC are listed below in the form of ‘groupId:artifactId’.
org.apache.shardingsphere:shardingsphere-authority-core
, the user authority to load the logical coreorg.apache.shardingsphere:shardingsphere-cluster-mode-core
, the persistent definition core of cluster mode configuration informationorg.apache.shardingsphere:shardingsphere-db-discovery-core
, high availability coreorg.apache.shardingsphere:shardingsphere-encrypt-core
, data encryption coreorg.apache.shardingsphere:shardingsphere-infra-context
, the kernel operation and metadata refresh mechanism of Contextorg.apache.shardingsphere:shardingsphere-logging-core
, logging coreorg.apache.shardingsphere:shardingsphere-mask-core
, data masking coreorg.apache.shardingsphere:shardingsphere-mysql-dialect-exception
, MySQL implementation of database gatewayorg.apache.shardingsphere:shardingsphere-parser-core
, SQL parsing coreorg.apache.shardingsphere:shardingsphere-postgresql-dialect-exception
, PostgreSQL implementation of databaseorg.apache.shardingsphere:shardingsphere-readwrite-splitting-core
, read-write splitting coreorg.apache.shardingsphere:shardingsphere-shadow-core
, shadow library coreorg.apache.shardingsphere:shardingsphere-sharding-core
, data sharding coreorg.apache.shardingsphere:shardingsphere-single-core
, single-table (only the only table that exists in all sharded data sources) coreorg.apache.shardingsphere:shardingsphere-sql-federation-core
, federation query executor coreorg.apache.shardingsphere:shardingsphere-sql-parser-mysql
, MySQL dialect implementation of SQL parsingorg.apache.shardingsphere:shardingsphere-sql-parser-opengauss
, OpenGauss dialect implementation of SQL parsingorg.apache.shardingsphere:shardingsphere-sql-parser-oracle
, Oracle dialect implementation of SQL parsingorg.apache.shardingsphere:shardingsphere-sql-parser-postgresql
, PostgreSQL dialect implementation of SQL parsingorg.apache.shardingsphere:shardingsphere-sql-parser-sql92
,the SQL 92 dialect implementation of SQL parsingorg.apache.shardingsphere:shardingsphere-sql-parser-sqlserver
, SQL Server dialect implementation of SQL parsingorg.apache.shardingsphere:shardingsphere-standalone-mode-core
, the persistence definition core of single-machine mode configuration informationorg.apache.shardingsphere:shardingsphere-standalone-mode-repository-jdbc-h2
, H2 implementation of persistent definition of configuration information in stand-alone modeorg.apache.shardingsphere:shardingsphere-traffic-core
, traffic governance coreorg.apache.shardingsphere:shardingsphere-transaction-core
, XA Distributed Transaction Manager Core
If ShardingSphere-JDBC needs to use optional plugins, you need to download the JAR containing its SPI implementation and its dependent JARs from Maven Central.
All optional plugins are listed below in the form of groupId:artifactId
.
- Standalone mode configuration information persistence definition
org.apache.shardingsphere:shardingsphere-standalone-mode-repository-jdbc-mysql
, MySQL based persistence
- Cluster mode configuration information persistence definition
org.apache.shardingsphere:shardingsphere-cluster-mode-repository-zookeeper
, Zookeeper based persistenceorg.apache.shardingsphere:shardingsphere-cluster-mode-repository-etcd
, Etcd based persistence
- XA transaction manager provider definition
org.apache.shardingsphere:shardingsphere-transaction-xa-narayana
, XA distributed transaction manager based on Narayana
- Row Value Expressions definition
org.apache.shardingsphere:shardingsphere-infra-expr-espresso
,Row Value Expressions that uses the Groovy syntax based on GraalVM Truffle’s Espresso implementation
- Database type identification
org.apache.shardingsphere:shardingsphere-infra-database-testcontainers
, Adaptation of jdbcURL forJDBC support
oftestcontainers-java
In addition to the above optional plugins, ShardingSphere community developers have contributed a number of plugin implementations. These plugins can be found in [ShardingSphere Plugins] (https://github.com/apache/shardingsphere-plugin) repository. Plugins in ShardingSphere Plugin repository would remain the same release plan with ShardingSphere, they can be retrieved at https://central.sonatype.com/, and install into ShardingSphere.