L1nq0 commented on PR #9094:
URL: https://github.com/apache/storm/pull/9094#issuecomment-5695788621

   @rzo1 Thanks for the review. Commit be82785 addresses everything.
   
   TupleDeserializationException now extends IllegalArgumentException and has a 
(String, Throwable) constructor, so handlers written against the 3.1.0 behavior 
keep matching. The entry in TOLERATED_DESERIALIZATION_FAILURES stays; it is 
redundant now but it documents where the exception comes from.
   
   The config is documented in the table in docs/Serialization.md and next to 
deserializationFailures in docs/Metrics.md. The javadoc keeps the pre-3.1.0 
wording and now states the consequence: a single corrupt frame kills the worker 
and the supervisor restarts it into the same failure, so a persistent bad frame 
results in a restart loop.
   
   On the test points: the unknown-stream case no longer pins the message text, 
it checks the exception type and the component name, and 
testStrictModeMakesUnknownTaskFailureFatal covers the strict mode with the 
typed exception thrown for an unknown task id.
   
   The config name stays topology.tuple.deserialization.strict.enable, per your 
confirmation.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to