[ https://issues.apache.org/jira/browse/KAFKA-7402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16619541#comment-16619541 ]
Yishun Guan commented on KAFKA-7402: ------------------------------------ Hi [~vvcephei], should we create an KIP for KafkaStream first or we should create a universal one for all the applicable classes? > 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 > Priority: Minor > Labels: needs-kip, newbie > > 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)