baomidou / dynamic-datasource

dynamic datasource for springboot 多数据源 动态数据源 主从分离 读写分离 分布式事务
https://www.kancloud.cn/tracy5546/dynamic-datasource/2264611
Apache License 2.0
4.67k stars 1.19k forks source link

能否引入transmittable-thread-local或者其他,解决异步执行时上下文传递的问题 #664

Closed KongZouXiang closed 1 month ago

KongZouXiang commented 1 month ago

Please fill it out carefully, or it will be closed. 请认真填写,不然会直接关闭。

Enviroment

JDK Version(required): 21

SpringBoot Version(required): 3.3.0

dynamic-datasource-spring-boot-starter Version(required): 4.3.1

druid Version(optional):

Describe what happened

Expected Result:

Actual Result:

If there is an exception,or aop invalid,please attach the exception trace:

Just paste your stack trace here!

Steps to reproduce

huayanYu commented 1 month ago

你需要就自己改源码加, 我不想加。