采纳
执行到consumer.offsetsForTimes处时卡住很长时间然后报Failed to get offsets by times in 305000ms;可以获取得到topic的信息,网络也是通的。
consumer.offsetsForTimes
Failed to get offsets by times in 305000ms;
kafka得版本时 2.11-0.10.2.0