You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/02/03 06:57:55 UTC
[GitHub] [incubator-hudi] dengziming opened a new pull request #1303:
[HUDI-596] Close KafkaConsumer every time
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] vinothchandar merged pull request #1303:
[HUDI-596] Close KafkaConsumer every time after we use it
Posted by GitBox <gi...@apache.org>.
vinothchandar merged pull request #1303: [HUDI-596] Close KafkaConsumer every time after we use it
URL: https://github.com/apache/incubator-hudi/pull/1303
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services