Added possibility to get partition/offset pairs in one call