Package org.zalando.fahrschein
Class EventValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.zalando.fahrschein.EventPublishingException
org.zalando.fahrschein.EventValidationException
- All Implemented Interfaces:
Serializable
Exception thrown during publishing of events, in case the batch fails the validation phase.
The exception will contain an array of all BatchItemResponses, independent of their status.
There is an ordering guarantee from Nakadi, so that you can correlate the elements in the response
with your input batch, and potentially retry only the failed or aborted events. Every record includes the eid (BatchItemResponse.getEid())
which can also be used to identify the event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.zalando.fahrschein.EventPublishingException
getResponsesMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EventValidationException
-