解决sonar
This commit is contained in:
@@ -65,7 +65,7 @@ public class NameplateKafkaConsumer {
|
|||||||
if (CollectionUtils.isEmpty(tmNameplateCorpus.getData())) {
|
if (CollectionUtils.isEmpty(tmNameplateCorpus.getData())) {
|
||||||
log.info("nameplateKafkagetData为空");
|
log.info("nameplateKafkagetData为空");
|
||||||
ack.acknowledge();
|
ack.acknowledge();
|
||||||
return;
|
|
||||||
}//去掉业务调用
|
}//去掉业务调用
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("处理消息失败", e);
|
log.error("处理消息失败", e);
|
||||||
|
|||||||
Reference in New Issue
Block a user