Re: Handle exception in kafka stream

2020-09-01 Thread Deepak Raghav
Hi John Please find my inline response below Regards and Thanks Deepak Raghav On Tue, Sep 1, 2020 at 8:22 PM John Roesler wrote: > Hi Deepak, > > It sounds like you're saying that the exception handler is > correctly indicating that Streams should "Continue", and > that if you stop the app

Re: Handle exception in kafka stream

2020-09-01 Thread John Roesler
Hi Deepak, It sounds like you're saying that the exception handler is correctly indicating that Streams should "Continue", and that if you stop the app after handling an exceptional record but before the next commit, Streams re-processes the record? If that's what you're seeing, then it's how

Re: Handle exception in kafka stream

2020-09-01 Thread Deepak Raghav
Hi Team Just a reminder. Can you please help me with this? Regards and Thanks Deepak Raghav On Tue, Sep 1, 2020 at 1:44 PM Deepak Raghav wrote: > Hi Team > > I have created a CustomExceptionHandler class by > implementing DeserializationExceptionHandler interface to handle the > exception

Re: Handle exception in kafka stream

2020-09-01 Thread Bruno Cadonna
Hi Deepak, Do you return DeserializationHandlerResponse.CONTINUE or DeserializationHandlerResponse.FAIL in your CustomExceptionHandler? With DeserializationHandlerResponse.CONTINUE, the processing of records should not stop and after the next offset commit the bad records should not be read

Handle exception in kafka stream

2020-09-01 Thread Deepak Raghav
Hi Team I have created a CustomExceptionHandler class by implementing DeserializationExceptionHandler interface to handle the exception during deserialization time. But the problem with this approach is that if there is some exception raised for some record and after that stream is stopped and