teragrep / rlp_03

Java RELP Server library
GNU Affero General Public License v3.0
1 stars 5 forks source link

Add clarification and/or examples for error handling #220

Open StrongestNumber9 opened 2 months ago

StrongestNumber9 commented 2 months ago

Description

Add examples how to handle interrupted connections and non-200 responses when transmitting records forwards

Use case or motivation behind the feature request

Currently it is fairly hard to figure out which component should be in charge of error handling, and how to implement it

Related issues

https://github.com/teragrep/cfe_35/issues/6

Additional context

https://github.com/teragrep/rlp_03/blob/cd0cd2077157087433219b83df7c2eafd75a0b93/src/main/java/com/teragrep/rlp_03/client/RelpClientImpl.java#L80-L96