/** * Abstract method that is intended to be extended by the pool that created * this ConsumerLease object. It should ensure that the session given to * create this session is rolled back and that the underlying kafka consumer * is either returned to the pool for continued use or destroyed if this * lease has been poisoned. It can only be called once. Calling it more than * once can result in undefined and non threadsafe behavior. */ @Override public void close() { resetInternalState(); }
/** * Abstract method that is intended to be extended by the pool that created * this ConsumerLease object. It should ensure that the session given to * create this session is rolled back and that the underlying kafka consumer * is either returned to the pool for continued use or destroyed if this * lease has been poisoned. It can only be called once. Calling it more than * once can result in undefined and non threadsafe behavior. */ @Override public void close() { resetInternalState(); }
/** * Abstract method that is intended to be extended by the pool that created * this ConsumerLease object. It should ensure that the session given to * create this session is rolled back and that the underlying kafka consumer * is either returned to the pool for continued use or destroyed if this * lease has been poisoned. It can only be called once. Calling it more than * once can result in undefined and non threadsafe behavior. */ @Override public void close() { resetInternalState(); }
/** * Abstract method that is intended to be extended by the pool that created * this ConsumerLease object. It should ensure that the session given to * create this session is rolled back and that the underlying kafka consumer * is either returned to the pool for continued use or destroyed if this * lease has been poisoned. It can only be called once. Calling it more than * once can result in undefined and non threadsafe behavior. */ @Override public void close() { resetInternalState(); }
/** * Abstract method that is intended to be extended by the pool that created * this ConsumerLease object. It should ensure that the session given to * create this session is rolled back and that the underlying kafka consumer * is either returned to the pool for continued use or destroyed if this * lease has been poisoned. It can only be called once. Calling it more than * once can result in undefined and non threadsafe behavior. */ @Override public void close() { resetInternalState(); }
resetInternalState(); return false; resetInternalState(); return true; } catch (final KafkaException kex) {
resetInternalState(); return false; resetInternalState(); return true; } catch (final IOException ioe) {
resetInternalState(); return false; resetInternalState(); return true; } catch (final IOException ioe) {
resetInternalState(); return false; resetInternalState(); return true; } catch (final IOException ioe) {
resetInternalState(); return false; resetInternalState(); return true; } catch (final IOException ioe) {
/** * Abstract method that is intended to be extended by the pool that created * this ConsumerLease object. It should ensure that the session given to * create this session is rolled back and that the underlying kafka consumer * is either returned to the pool for continued use or destroyed if this * lease has been poisoned. It can only be called once. Calling it more than * once can result in undefined and non threadsafe behavior. */ @Override public void close() { resetInternalState(); }
/** * Abstract method that is intended to be extended by the pool that created * this ConsumerLease object. It should ensure that the session given to * create this session is rolled back and that the underlying kafka consumer * is either returned to the pool for continued use or destroyed if this * lease has been poisoned. It can only be called once. Calling it more than * once can result in undefined and non threadsafe behavior. */ @Override public void close() { resetInternalState(); }
/** * Abstract method that is intended to be extended by the pool that created * this ConsumerLease object. It should ensure that the session given to * create this session is rolled back and that the underlying kafka consumer * is either returned to the pool for continued use or destroyed if this * lease has been poisoned. It can only be called once. Calling it more than * once can result in undefined and non threadsafe behavior. */ @Override public void close() { resetInternalState(); }
/** * Abstract method that is intended to be extended by the pool that created * this ConsumerLease object. It should ensure that the session given to * create this session is rolled back and that the underlying kafka consumer * is either returned to the pool for continued use or destroyed if this * lease has been poisoned. It can only be called once. Calling it more than * once can result in undefined and non threadsafe behavior. */ @Override public void close() { resetInternalState(); }
resetInternalState(); return false; resetInternalState(); return true; } catch (final KafkaException kex) {
resetInternalState(); return false; resetInternalState(); return true; } catch (final IOException ioe) {
resetInternalState(); return false; resetInternalState(); return true; } catch (final IOException ioe) {
resetInternalState(); return false; resetInternalState(); return true; } catch (final IOException ioe) {