# nacos-datasource-plugin-extension **Repository Path**: zhangph739/nacos-datasource-plugin-extension ## Basic Information - **Project Name**: nacos-datasource-plugin-extension - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: 2.2.0 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-01 - **Last Updated**: 2024-03-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # English | [简体中文](./README_zhCN.md)

nacos-datasource-plugin-extension

maven code style

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. ## Features - **No intrusion**: `nacos-datasource-plugin-extension` is extended on the basis of `nacos-datasource-plugin`. It only enhances but does not change. The introduction of `nacos-datasource-plugin-extension` will not have any impact on your existing `nacos` architecture. No impact, and no need to add any non-native `nacos` configuration - **Less dependence**: Only relies on `nacos-datasource-plugin` and `naccos-common`, and does not introduce dependencies when referencing them ## Getting started - Add nacos-datasource-plugin-extension dependency - Latest Version: [![Maven Central](https://img.shields.io/maven-central/v/io.github.georgeanson/nacos-datasource-plugin-extension.svg)](https://search.maven.org/search?q=g:io.github.georgeanson%20a:nacos-datasource-plugin-extension) - Maven: ```xml io.github.georgeanson nacos-datasource-plugin-extension Latest Version ``` - Gradle ```groovy compile group: 'io.github.georgeanson', name: 'nacos-datasource-plugin-extension', version: 'Latest Version' ``` - Use it. **Just use original configuration, eg: use `db2` as external storage** ```yaml spring: 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} ``` ## License nacos-datasource-plugin-extension is released under Apache License 2.0. Please refer to [License](./LICENSE) for details. ## Links - [Nacos](https://github.com/alibaba/nacos) ## Latest Version: [![Maven Central](https://img.shields.io/maven-central/v/io.github.georgeanson/nacos-datasource-plugin-extension.svg)](https://search.maven.org/search?q=g:io.github.georgeanson%20a:nacos-datasource-plugin-extension) ## Others - Any developer interested in getting more involved in nacos-datasource-plugin-extension can make [contributions](https://github.com/GeorgeAnson/nacos-datasource-plugin-extension/pulls)! - Reach out to me through email **georgeanson.gm@gmail.com**. Any issues or questions are welcomed on [Issues](https://github.com/GeorgeAnson/nacos-datasource-plugin-extension/issues). - Look forward to your opinions. Response may be late but not denied.