You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2016/05/23 17:13:12 UTC
[jira] [Updated] (KAFKA-3747) Close `RecordBatch.records` when
append to batch fails
[ https://issues.apache.org/jira/browse/KAFKA-3747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismael Juma updated KAFKA-3747:
-------------------------------
Status: Patch Available (was: Open)
> Close `RecordBatch.records` when append to batch fails
> ------------------------------------------------------
>
> Key: KAFKA-3747
> URL: https://issues.apache.org/jira/browse/KAFKA-3747
> Project: Kafka
> Issue Type: Improvement
> Reporter: Ismael Juma
> Assignee: Ismael Juma
> Fix For: 0.10.0.1
>
>
> We should close the existing `RecordBatch.records` when we create a new `RecordBatch` for the `TopicPartition`.
> This would mean that we would only retain temporary resources like compression stream buffers for one `RecordBatch` per partition, which can have a significant impact when producers are dealing with slow brokers, see KAFKA-3704 for more details.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)