You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Matthias J. Sax (JIRA)" <ji...@apache.org> on 2018/11/17 03:32:03 UTC
[jira] [Resolved] (KAFKA-7402) Kafka Streams should implement
AutoCloseable where appropriate
[ https://issues.apache.org/jira/browse/KAFKA-7402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias J. Sax resolved KAFKA-7402.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0
> Kafka Streams should implement AutoCloseable where appropriate
> --------------------------------------------------------------
>
> Key: KAFKA-7402
> URL: https://issues.apache.org/jira/browse/KAFKA-7402
> Project: Kafka
> Issue Type: Improvement
> Components: streams
> Reporter: John Roesler
> Assignee: Yishun Guan
> Priority: Minor
> Labels: needs-kip, newbie
> Fix For: 2.2.0
>
>
> Various components in Streams have close methods but do not implement AutoCloseable. This means that they can't be used in try-with-resources blocks.
> Remedying that would simplify our tests and make life easier for users as well.
> KafkaStreams itself is a notable example of this, but we can take the opportunity to look for other components that make sense as AutoCloseable as well.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)