kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guozhang Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-5308) TC should handle UNSUPPORTED_FOR_MESSAGE_FORMAT in WriteTxnMarker response
Date Wed, 31 May 2017 06:43:04 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-5308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guozhang Wang updated KAFKA-5308:
---------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Issue resolved by pull request 3152
[https://github.com/apache/kafka/pull/3152]

> TC should handle UNSUPPORTED_FOR_MESSAGE_FORMAT in WriteTxnMarker response
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-5308
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5308
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: clients, core, producer 
>            Reporter: Jason Gustafson
>            Assignee: Damian Guy
>            Priority: Blocker
>              Labels: exactly-once
>             Fix For: 0.11.0.0
>
>
> It could be the case that one of the topics added to a transaction is on a lower message
format version. Because of https://github.com/apache/kafka/pull/3118, the producer won't be
able to send any data to that topic, but the TC will nevertheless try to write the commit/abort
marker to the log. Like the Produce request, the WriteTxnMarker request should return the
UNSUPPORTED_FOR_MESSSAGE_FORMAT error. Instead of retrying, we should log a warning and remove
the partition from the set of partitions awaiting marker completion.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message