Thought in Coding
Regarding:
- Does Flow need Abstraction
- Throw Exception or Return Status value
- Custom Exception
- Use Transaction
- Retry/Re-Processing
Regarding:
香港,银行间转账场景。HKITL (Hong Kong Interbank Clearing Limited) 提供了两种清结算方式。CHATS 和 FPS。
my initial understanding of system resilience.
good news is from the spring framework itself, we have these resilience capabilities.
As of 7.0, the core Spring Framework includes a couple of common resilience features,
in particular@Retryableand@ConcurrencyLimitannotations for method invocations.
another good resource is resilience4j.
The RestClient is a synchronous HTTP client that offers a modern, fluent API. It offers an abstraction over HTTP libraries that allows for convenient conversion from a Java object to an HTTP request, and the creation of objects from an HTTP response.
Lets see how it is designed.