FrankChen021 commented on issue #14344:
URL: https://github.com/apache/druid/issues/14344#issuecomment-3051472201

   To fail the task when OffsetOutOfRange is raised is easy, but the tricky 
part is how we handle the exception.
   
   there're several alternatives for the exception handling.
   
   | No. | Exception Handling | Status of Task | Cons |
   |----|----|----|---|
   | 1 |  Just re-throw the exception | FAIL | under the current exception 
handling of task, task does not publish any consumed data, this means all data 
consumed on partitions where exception is raised on will be lost. |
   | 2 | Handling the OffsetOutOfRangeException and publish data | FAIL | it's 
a little bit tricky to achieve it |
   | 3 | Handling the exception and publish data, using log.alert to send an 
alert | SUCCESS | a little bit easier than 2, but hard to track which task 
encounters this exception |
   
   @gianm @abhishekrb19  what do u think?
   
   
   
   
   
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to