GitHub user apurvam opened a pull request: https://github.com/apache/kafka/pull/3313
KAFKA-5438: Fix UnsupportedOperationException in writeTxnMarkersRequest Before this patch, the `partitionErrors` was an immutable map. As a result if a single producer had a marker for multiple partitions, and if there were multiple response callbacks for a single append, we would get an `UnsupportedOperationException` in the `writeTxnMarker` handler. You can merge this pull request into a Git repository by running: $ git pull https://github.com/apurvam/kafka KAFKA-5438-fix-unsupportedoperationexception-in-writetxnmarker Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3313.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3313 ---- commit 0fc523aefb8a30f4fdebf166f904a780b40f6965 Author: Apurva Mehta <apu...@confluent.io> Date: 2017-06-13T04:47:59Z Make partitionErrors a mutable map in KafkaApis.handleWriteTxnMarkerRequest ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---