Luke Chen created KAFKA-13122:
---------------------------------

             Summary: Close KeyValueIterator implemented instance to avoid 
resource leak
                 Key: KAFKA-13122
                 URL: https://issues.apache.org/jira/browse/KAFKA-13122
             Project: Kafka
          Issue Type: Bug
          Components: streams
            Reporter: Luke Chen
            Assignee: Luke Chen


Found there are "many" KeyValueIterator implemented instances don't explicitly 
get closed, which will cause resource leak. This issue mostly happen in tests 
because we usually query state store to get result iterator, and then do 
verification, but forgot close it. This issue also appear in the example code 
in our developer guide docs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to