fix bug of kafka offset outofrange