Class DefaultPollExceptionStrategy

    • Constructor Detail

      • DefaultPollExceptionStrategy

        public DefaultPollExceptionStrategy()
      • DefaultPollExceptionStrategy

        public DefaultPollExceptionStrategy​(PollOnError pollOnError)
    • Method Detail

      • handleException

        public PollOnError handleException​(Exception exception)
        Description copied from interface: PollExceptionStrategy
        Controls how to handle the exception while polling from Kafka.
        Specified by:
        handleException in interface PollExceptionStrategy
        Parameters:
        exception - the caused exception which typically would be a KafkaException
        Returns:
        how to handle the exception