dengziming opened a new pull request #1303: [HUDI-596] Close KafkaConsumer every time URL: https://github.com/apache/incubator-hudi/pull/1303 if we create KafkaConsumer but didn't close it, exception will be thrown after a while. ``` java.net.SocketException: Too many open files at sun.nio.ch.Net.socket0(Native Method) at sun.nio.ch.Net.socket(Net.java:411) at sun.nio.ch.Net.socket(Net.java:404) ``` ## What is the purpose of the pull request use try with resources to close KafkaConsumer
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services