Class KafkaSkipRecordException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ru.tinkoff.kora.kafka.common.exceptions.KafkaSkipRecordException
All Implemented Interfaces:
Serializable

public class KafkaSkipRecordException extends RuntimeException
Wraps exception that will be reported to telemetry and skipped

Example:

 
 throw new KafkaSkipRecordException(new MyException());
 
 
See Also:
  • Constructor Details

    • KafkaSkipRecordException

      public KafkaSkipRecordException(@Nonnull Throwable cause)
      Parameters:
      cause - will be reported to telemetry and skipped