English | 简体中文
A extension plugin of nacos-datasource-plugin which support nacos-datasource-plugin to use postgresql database and DB2 database。
Note: Only the original plug-in functions have been enhanced without any changes.
- No intrusion:
nacos-datasource-plugin-extension
is extended on the basis ofnacos-datasource-plugin
. It only enhances but does not change. The introduction ofnacos-datasource-plugin-extension
will not have any impact on your existingnacos
architecture. No impact, and no need to add any non-nativenacos
configuration - Less dependence: Only relies on
nacos-datasource-plugin
andnaccos-common
, and does not introduce dependencies when referencing them
-
Add nacos-datasource-plugin-extension dependency
-
Gradle
compile group: 'io.github.georgeanson', name: 'nacos-datasource-plugin-extension', version: 'Latest Version'
-
Use it. Just use original configuration, eg: use
db2
as external storagespring: sql: init: platform: db2 #Choose one: db2,mysql,postgresql db: num: 1 url.0: jdbc:db2://${DB2_HOST}:${DB2_PORT}/${DB2_INSTANCE} user: ${DB2_USER} password: ${DB2_PWD} pool: config: driver-class-name: com.ibm.db2.jcc.DB2Driver connection-test-query: select 1 FROM SYSIBM.SYSDUMMY1 schema: ${DB2_SCHEMA}
nacos-datasource-plugin-extension is released under Apache License 2.0. Please refer to License for details.
-
Any developer interested in getting more involved in nacos-datasource-plugin-extension can make contributions!
-
Reach out to me through email georgeanson.gm@gmail.com. Any issues or questions are welcomed on Issues.
-
Look forward to your opinions. Response may be late but not denied.