Package org.apache.flink.connector.file.src.assigners
package org.apache.flink.connector.file.src.assigners
-
ClassDescriptionThe
FileSplitAssigneris responsible for deciding what split should be processed next by which node.Factory for theFileSplitAssigner, to allow theFileSplitAssignerto be eagerly initialized and to not be serializable.AFileSplitAssignerthat assigns to each host preferably splits that are local, before assigning splits that are not local.TheSimpleSplitAssignerhands out splits in a random order, without any consideration for order or locality.