Hi,
From my understanding, it is guaranteed that when a Kafka Streams application running with the exactly_once processing guarantee receives a record, it will either finish processing the record (including flushing any records generated as a direct result of processing the message and committing the transaction), invoke either the DeserializationExceptionHandler or the ProductionExceptionHandler exception handler, or retry processing the message. Is that correct, or are there cases where a record can be consumed (and the consumption committed) without the Kafka Streams application being able to either produce any output or handle an exception?
Best Regards
Magnus Reftel
________________________________
Denne e-posten og eventuelle vedlegg er beregnet utelukkende for den institusjon eller person den er rettet til og kan vaere belagt med lovbestemt taushetsplikt. Dersom e-posten er feilsendt, vennligst slett den og kontakt Skatteetaten.
The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential information and may be legally protected from disclosure. If you are not the intended recipient of this message, please immediately delete the message and alert the Norwegian Tax Administration.
From my understanding, it is guaranteed that when a Kafka Streams application running with the exactly_once processing guarantee receives a record, it will either finish processing the record (including flushing any records generated as a direct result of processing the message and committing the transaction), invoke either the DeserializationExceptionHandler or the ProductionExceptionHandler exception handler, or retry processing the message. Is that correct, or are there cases where a record can be consumed (and the consumption committed) without the Kafka Streams application being able to either produce any output or handle an exception?
Best Regards
Magnus Reftel
________________________________
Denne e-posten og eventuelle vedlegg er beregnet utelukkende for den institusjon eller person den er rettet til og kan vaere belagt med lovbestemt taushetsplikt. Dersom e-posten er feilsendt, vennligst slett den og kontakt Skatteetaten.
The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential information and may be legally protected from disclosure. If you are not the intended recipient of this message, please immediately delete the message and alert the Norwegian Tax Administration.
Comments
Post a Comment