fix pending method

Consumer pending method returns -1 instead 0, if there are no pending messages in partition.