Class ParseExceptionHandler


  • public class ParseExceptionHandler
    extends Object
    A handler for ParseExceptions thrown during ingestion. Based on the given configuration, this handler can - log ParseExceptions. - keep most recent N ParseExceptions in memory. - throw a RuntimeException when it sees more ParseExceptions than maxAllowedParseExceptions. No matter what the handler does, the relevant metric should be updated first.