for (String group : this.consumerTable.keySet()) {
final ConsumerGroupInfo info = this.consumerTable.get(group);
if (info != null) {
ConcurrentHashMap<Channel, ClientChannelInfo> cloneChannels =
new ConcurrentHashMap(info.getChannelInfoTable());
for (Map.Entry<Channel, ClientChannelInfo> entry : cloneChannels.entrySet()) {
ClientChannelInfo clientChannelInfo = entry.getValue();
long diff = System.currentTimeMillis() - clientChannelInfo.getLastUpdateTimestamp();
if (diff > ChannelExpiredTimeout) {
log.warn(
"SCAN: remove expired channel from ConsumerManager consumerTable. channel={}, consumerGroup={}",