added number of partitions as queue attribute