Skip to content

Commit

Permalink
feat: 调整可用的kafka数量 --story=118520992 (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
bellke authored Jul 16, 2024
1 parent 9606031 commit 24fa681
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ func RefreshKafkaTopicInfo(ctx context.Context, t *t.Task) error {
clusterId, ok := dataIdClusterId[info.BkDataId]
if !ok {
logger.Infof("data_id [%v] not found in data_id_cluster_id map, skip", info.BkDataId)
wg.Done()
continue
}
// 获取 kafka 集群信息
Expand All @@ -402,6 +403,7 @@ func RefreshKafkaTopicInfo(ctx context.Context, t *t.Task) error {
clusterInfo, ok := clusterInfoMap[clusterId]
if !ok && kafkaClient == nil {
logger.Infof("data_id [%v] and cluster_id [%s] not found cluster info, skip", info.BkDataId, clusterId)
wg.Done()
continue
}

Expand Down

0 comments on commit 24fa681

Please sign in to comment.