Interface ChalkUploadClientFactory

All Superinterfaces:
Serializable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ChalkUploadClientFactory extends Serializable
Builds the ChalkUploadClient a sink subtask uses, given the job config. Serialized and shipped to TaskManagers, then invoked once per subtask in the operator's open() / createWriter().

The default (a null factory on the adapters) uses the real ChalkClient-backed client. Supply a custom factory to inject a fake for a Flink MiniCluster test, or an alternate transport. Implementations must be Serializable.