[ 
https://issues.apache.org/jira/browse/KAFKA-10186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17171092#comment-17171092
 ] 

Matthias J. Sax commented on KAFKA-10186:
-----------------------------------------

[~nym3r0s] I added you to the list on contributors and assigned the ticket to 
you. You can now also self-assign tickets.

For the KIP, please create a wiki account (the Jira and Wiki accounts are 
independent) and request write wiki write access on the dev mailing list (don'f 
forget to include your username :)). Let us know if you have any further 
questions.

> Aborting transaction with pending data should throw non-fatal exception
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-10186
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10186
>             Project: Kafka
>          Issue Type: Improvement
>          Components: producer 
>            Reporter: Sophie Blee-Goldman
>            Assignee: Gokul Srinivas
>            Priority: Major
>              Labels: needs-kip, newbie, newbie++
>
> Currently if you try to abort a transaction with any pending (non-flushed) 
> data, the send exception is set to
> {code:java}
>  KafkaException("Failing batch since transaction was aborted"){code}
> This exception type is generally considered fatal, but this is a valid state 
> to be in -- the point of throwing the exception is to alert that the records 
> will not be sent, not that you are in an unrecoverable error state.
> We should throw a different (possibly new) type of exception here to 
> distinguish from fatal and recoverable errors.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to