[
https://issues.apache.org/jira/browse/KAFKA-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias J. Sax reopened KAFKA-4721:
------------------------------------
> KafkaStreams (and possibly others) should inherit Closeable
> -----------------------------------------------------------
>
> Key: KAFKA-4721
> URL: https://issues.apache.org/jira/browse/KAFKA-4721
> Project: Kafka
> Issue Type: New Feature
> Components: streams
> Affects Versions: 0.10.1.1
> Reporter: Steven Schlansker
> Priority: Major
> Labels: needs-kip
>
> KafkaStreams should inherit AutoCloseable or Closeable so that you can use
> try-with-resources:
> {code}
> try (KafkaStreams reader = storage.createStreams(builder)) {
> reader.start();
> stopCondition.join();
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)