You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2023/01/04 17:29:46 UTC

[GitHub] [shardingsphere] linghengqian commented on issue #21211: v5.2, If a druid datasource has some filters, then create a ShardingSphereDataSource will occur exception

linghengqian commented on issue #21211:
URL: https://github.com/apache/shardingsphere/issues/21211#issuecomment-1371218036

   - I looked back and looked at this problem, which mainly needs to be aligned with the yaml processing of the druid springboot starter, `com.alibaba.druid.filter.logging.LogFilter`, `com.alibaba.druid.filter.stat.StatFilter`, `com.alibaba.druid. wall.WallConfig` is serialized into YAML 1.1 Map according to a set of rigid process, which is somewhat similar to https://github.com/baomidou/dynamic-datasource-spring-boot-starter/tree/master/src%2Fmain%2Fjava %2Fcom%2Fbaomidou%2Fdynamic%2Fdatasource%2Fspring%2Fboot%2Fautoconfigure%2Fdruid .
   
   - This almost has to import druid's springboot starter as a test dependency into the shardingsphere master branch, because only druid will have this situation. 
   
   - Considering that the PR involved in https://github.com/alibaba/druid/issues/4673 has not been merged for a long time, I don't really want to deal with it in a very unfriendly way, unless some friends know how to bypass the druid's springboot starter which is actually not available.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org