aloyszhang commented on code in PR #11137:
URL: https://github.com/apache/inlong/pull/11137#discussion_r1766244300
##########
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/file/AbstractSource.java:
##########
@@ -309,6 +309,37 @@ private void initExtendHandler() {
@Override
public Message read() {
+ SourceData sourceData = readFromQueue();
+ while (sourceData != null) {
+ Message msg = createMessage(sourceData);
+ if (filterSourceData(msg)) {
Review Comment:
All message will be procced by `filterSourceData` with following logic
```java
if (extendedHandler != null) {
return extendedHandler.filterMessage(msg);
}
return true;
```
But I didn't find any implementation for `ExtendedHandler#filterMessage`
--
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]