问题描述:
数据订阅报超时错误,详细信息如下:
2015-11-11 16:16:36,724 INFO [com.aliyun.drc.clusterclient.partition.PartitionPool] - client partition is empty,wait partition balance
2015-11-11 16:16:46,748 INFO [com.aliyun.drc.clusterclient.partition.PartitionPool] - client partition is empty,wait partition balance
2015-11-11 16:16:56,802 INFO [com.aliyun.drc.clusterclient.partition.PartitionPool] - start new partition: {"tables":["lcbiz.*"],"topic":"aliyun_bj_ecs_rds50z6m245857ih47be-1-0","guid":"dts_rds50z6m245857ih47be_nSj","partition":{"name":"0f59329ace868558b1aeb601c2dd5fbb","gmt":1447229810},"offset":"::::1447229563:","group":"1101830883718915"}
2015-11-11 16:08:34,933 ERROR [com.aliyun.drc.clusterclient.partition.PartitionPool] - keep alive error
java.net.ConnectException: Connection timed out
排查指南:
运行SDK的服务器是否使用公网IP连接DTS, 数据订阅必须使用公网连接dts, 即检查是否设置了:
context.setUsePublicIp(false);
解决方法:
修改为通过公网订阅.即:
context.setUsePublicIp(true);
©2024 aliyunhn.com. All Rights Reserved 中科九洲科技股份有限公司-阿里云河南授权服务中心 豫B2-20080032-14 统计