[
https://issues.apache.org/jira/browse/KAFKA-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias J. Sax updated KAFKA-4721:
-----------------------------------
Labels: needs-kip (was: )
> 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
> 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
(v6.3.15#6346)