fix bug when consume multiple partition of the same topic