我使用jdbc连接配置连接到cassandra集群。 当我的测试完成后,在我的终端中它仍然继续输出心跳日志:
18:05:02.306 [cluster1-nio-worker-4] DEBUG com.datastax.driver.core.Connection - Connection [/10.11.8.103:9042-1,inFlight = 0,closed = false]无效30秒,发送心跳 18:05:02.307 [cluster1-nio-worker-4] DEBUG com.datastax.driver.core.Connection - Connection [/10.11.8.103:9042-1,inFlight = 0,closed = false]心跳查询成功 18:05:02.312 [cluster1-nio-worker-5] DEBUG com.datastax.driver.core.Connection - Connection [/10.11.8.103:9042-2,inFlight = 0,closed = false]无效30秒,发送心跳 18:05:02.314 [cluster1-nio-worker-5] DEBUG com.datastax.driver.core.Connection - Connection [/10.11.8.103:9042-2,inFlight = 0,closed = false]心跳查询成功 18:05:02.575 [cluster1-nio-worker-8] DEBUG com.datastax.driver.core.Connection - Connection [cass01.di01.qa.itsonsaas.com/10.11.8.101:9042-3,inFlight = 0,关闭发送心跳,30秒无效 18:05:02.577 [cluster1-nio-worker-8] DEBUG com.datastax.driver.core.Connection - Connection [cass01.di01.qa.itsonsaas.com/10.11.8.101:9042-3,inFlight = 0,关闭= false]心跳查询成功 .......
任何帮助表示赞赏!