ObjectLoaderLoadedPartPartitioner
class ObjectLoaderLoadedPartPartitioner<K : WithStream, T, U : RemoteObject<*>> : OutputPartitioner<K, T, ObjectKey, ObjectLoaderPartLoader.PartResult<U>>
The technically correct partitioning is round-robin, but since we use io.airbyte.cdk.load.message.SinglePartitionQueueWithMultiPartitionBroadcast, the partition is immaterial, so it's simpler just to return 0 here.
Functions
Link copied to clipboard
open override fun getOutputKey(inputKey: K, output: ObjectLoaderPartLoader.PartResult<U>): ObjectKey