THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
ClassCastException
is thrown while serializing record key / value. Today, we are throwingStreamsException
on hitting this exception. Whether to throw the
exception to the user will be decided based on the response received from ProductionExceptionHandlerhandleSerializationException
method.- If the result is
CONTINUE
, log a note atDEBUG
that we received that result and are not failing Streams as a result. If the result is - Any other unchecked exceptions, that thrown during record key / value serialization.
- If the result is
CONTINUE
, log a note atDEBUG
that we received that result and are not failing Streams as a result. - If the result is
FAIL
, log a message atERROR
that we received that result and setsendException
so Streams will fail.
- If the result is
FAIL
, log a message at ERROR
that we received that result and throw StreamsException
so Streams will fail.We will continue to throw this exception and not invoke the new method. This will allow the current behavior to continue as this can help identify misconfigured serdes ...