chengw315 edited a comment on issue #7115: URL: https://github.com/apache/shardingsphere/issues/7115#issuecomment-683647718
> You should use the same sourceDatasource configuartion in docs. It works, but another question floats out water. It's 'java.lang.ClassCastException'. It happens in the first step--unmarshal the inline yaml to get DataSourceConfiguration Maybe It's a bug? @kimmking ### This is the debug picture _ConfigurationYamlConverter ,lines 48_  YamlEngine doesn't convert LinkedHashMap to YamlDataSourceConfiguration automatically, after I add the convertion, the problem go away  ### param "data" of this method ```java data = "ds_source: \n" + " dataSourceClassName: com.zaxxer.hikari.HikariDataSource\n" + " properties:\n" + " jdbcUrl: jdbc:mysql://10.16.10.42:33307/columbia_limadw?serverTimezone=UTC&useSSL=false\n" + " username: root\n" + " password: '''123456'''\n" + " connectionTimeout: 30000\n" + " idleTimeout: 60000\n" + " maxLifetime: 1800000\n" + " maxPoolSize: 50\n" + " minPoolSize: 1\n" + " maintenanceIntervalMilliseconds: 30000\n" + " readOnly: false\n"; ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
