luchunliang commented on code in PR #7195: URL: https://github.com/apache/inlong/pull/7195#discussion_r1065419493
########## inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/sink/mq/MessageQueueZoneSinkContext.java: ########## @@ -268,4 +308,40 @@ public void processSendFail(BatchPackProfile currentRecord, String topic, long s currentRecord.fail(); } } + + private void appendIndex(Event event, boolean isSuccess) { + if (event == null) { + return; + } + if (mqConfig.getStatIntervalSec() <= 0) { + return; + } + // add monitor items base file storage + String topic = event.getHeaders().get(ConfigConstants.TOPIC_KEY); Review Comment: These logic can implement in the user-defined MQ Handler. -- 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: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org