You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/10/09 05:21:46 UTC
[GitHub] [rocketmq] RapperCL opened a new issue, #5254: ServiceProvider Stream Closure Optimization
RapperCL opened a new issue, #5254:
URL: https://github.com/apache/rocketmq/issues/5254
# serviceProvider
1 inputStream close
The load and loadClass methods do not actively close the inputStream
<img width="1049" alt="image" src="https://user-images.githubusercontent.com/44110731/194739366-39d9ee61-f3b5-4a60-9e28-47e9ea57f2d2.png">
2 BufferedReader close
When the BufferReader file stream reads an exception, the close() method will not be executed
<img width="1143" alt="image" src="https://user-images.githubusercontent.com/44110731/194739416-c7d66212-2230-478d-ab7b-f5299e24a57b.png">
We should actively close the byte stream inputStream and character stream BufferedReader, and consider exceptions.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] lizhanhui closed issue #5254: ServiceProvider Stream Closure Optimization
Posted by GitBox <gi...@apache.org>.
lizhanhui closed issue #5254: ServiceProvider Stream Closure Optimization
URL: https://github.com/apache/rocketmq/issues/5254
--
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.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org