def __init__(self, *args, **kwargs): if 'io_loop' in kwargs: self._io_loop = kwargs['io_loop'] del kwargs['io_loop'] else: self._io_loop = None BaseKafka.__init__(self, *args, **kwargs) self._stream = None
def __init__(self, *args, **kwargs): BaseKafka.__init__(self, *args, **kwargs) self._socket = None self._overflow = '' self.total_read = 0