Tencent / TubeMQ

TubeMQ has been donated to the Apache Software Foundation and renamed to InLong, please visit the new Apache repository: https://github.com/apache/incubator-inlong
https://inlong.apache.org/
2.02k stars 388 forks source link

Improved handling of read and write exceptions #139

Closed gosonzhang closed 5 years ago

gosonzhang commented 5 years ago

this close https://github.com/Tencent/TubeMQ/issues/137

gosonzhang commented 5 years ago

When reading, the IOException only be checked , but when writing, any exception will cause the write to fail, which needs to be captured and processed.


读的时候只需要检查IO异常,但在写的时候,由于任何异常都会导致写失败,需要捕获并处理