adds PartitionedBatchQueue