You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(plugin): add support for task file listing delegation
This commit adds the ability to delegate the file listing process to tasks.
This new capability is intended for use in contexts where a large number of
files are created in very short periods on the local file system.
Changes:
- add new config property fs.listing.tasks.delegation.enabled
Copy file name to clipboardExpand all lines: connect-file-pulse-api/src/main/java/io/streamthoughts/kafka/connect/filepulse/source/FileRecordsPollingConsumer.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,5 +39,5 @@ public interface FileRecordsPollingConsumer<T> extends FileInputIterator<T> {
39
39
*
40
40
* @param listener the {@link StateListener} instance to be used.
Copy file name to clipboardExpand all lines: connect-file-pulse-api/src/main/java/io/streamthoughts/kafka/connect/filepulse/source/TaskPartitioner.java
Copy file name to clipboardExpand all lines: connect-file-pulse-plugin/src/main/java/io/streamthoughts/kafka/connect/filepulse/config/SourceConnectorConfig.java
+17-2Lines changed: 17 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,9 @@ public class SourceConnectorConfig extends CommonSourceConfig {
42
42
privatestaticfinalStringMAX_SCHEDULED_FILES_DOC = "Maximum number of files that can be schedules to tasks.";
Copy file name to clipboardExpand all lines: connect-file-pulse-plugin/src/main/java/io/streamthoughts/kafka/connect/filepulse/config/SourceTaskConfig.java
Copy file name to clipboardExpand all lines: connect-file-pulse-plugin/src/main/java/io/streamthoughts/kafka/connect/filepulse/fs/DefaultFileSystemMonitor.java
0 commit comments