vernedeng commented on code in PR #4747:
URL: https://github.com/apache/inlong/pull/4747#discussion_r909383105
##########
inlong-audit/audit-store/src/main/java/org/apache/inlong/audit/service/AuditMsgConsumerServer.java:
##########
@@ -59,12 +66,24 @@ public void afterPropertiesSet() {
if (storeConfig.isElasticsearchStore()) {
esService.startTimerRoutine();
}
+ mqConsume.start();
+ }
- if (mqConsume != null) {
- mqConsume.start();
- } else {
- LOG.error("fail to auditMsgConsumerServer");
+ /**
+ * getInsertServiceList
+ * @return
+ */
+ private List<InsertData> getInsertServiceList() {
+ List<InsertData> insertServiceList = new ArrayList<>();
+ if (storeConfig.isMysqlStore()) {
Review Comment:
may storeConfig matches multi store types? If not, **_swtich case_** may be
a better format
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]