wu-sheng commented on a change in pull request #1347: support shardingjdbc database storage feature URL: https://github.com/apache/incubator-skywalking/pull/1347#discussion_r194666412
########## File path: docs/en/Use-ShardingJDBC-as-storage-implementor.md ########## @@ -0,0 +1,18 @@ +# Supported Database Sharding Storage +Beside the default Elasticsearch storage, it also support the database sharding storage, it allow the users to store data in multiple databases. +Note: it only supported MYSQL database sharding, and due to the license restrictions, the users need to import MYSQL Driver manually. + +## Requirement +- Manually import MySQL Driver package mysql-connector-java-5.1.36.jar to collector libs directory. +- In config/application.yml, close the elasticsearch configuration and open the shardingjdbc configuration, multiple data source configurations should be separated by Half Comma. +``` + storage: + shardingjdbc: + driverClass: com.mysql.jdbc.Driver + url: jdbc:mysql://ip1:port1/skywalking,jdbc:mysql://ip2:port2/skywalking + userName: admin,admin + password: 123456,123456 Review comment: Add comments for this: ``` # Passwords, which match the sequence of Datasource URLs ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services