Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

创建连接时等待时间过长的原因。 #5762

Open
leehomcy opened this issue Mar 7, 2024 · 1 comment
Open

创建连接时等待时间过长的原因。 #5762

leehomcy opened this issue Mar 7, 2024 · 1 comment

Comments

@leehomcy
Copy link

leehomcy commented Mar 7, 2024

2024-03-06 14:28:36.153 - �[1;33morg.springframework.kafka.KafkaListenerEndpointContainer#1-0-C-1�[0;39m �[1;32morg.mybatis.spring.SqlSessionUtils�[0;39m line:49 SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@431f09e8] was not registered for synchronization because synchronization is not active
在这里就没反应了,然后等待20分钟后才有反应。
�[39mDEBUG�[0;39m 2024-03-06 14:59:53.702 - �[1;33morg.springframework.kafka.KafkaListenerEndpointContainer#1-0-C-1�[0;39m �[1;32morg.mybatis.spring.transaction.SpringManagedTransaction�[0;39m line:49 JDBC Connection [com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl@56465d5] will not be managed by Spring

返现超过30分钟在kafka中不适用数据库,就会出现这种问题。

@leehomcy
Copy link
Author

leehomcy commented Mar 7, 2024

补充说明一下, 什么都没做,就是等着,能反复出现这种问题。每次都是等10-30分钟后,就能继续执行下去。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant