Releases: aatarasoff/spring-thrift-starter
Fix dependencies, tests and more
3.0.1 rollup version
Move to spring-cloud-starter-parent:2021.0.2
Update all libs, move to JUnit5, and more
Move to Hoxton.SR4 and Thrift Client Beans Support
Thrift clients can also be used as regular beans
(which can be configured through app properties)
class Service {
@Autowired
private TGreetingService.Client client;
}
class Service {
private final TGreetingService.Client client;
@Autowired
public Service(TGreetingService.Client client) {
this.client = client;
}
}
Move to Finchley.SR2
2.1.2 rollup version
Finchley.SR1, improvements and fixes
Sources were upgraded to use with Spring Boot 2 and Spring Cloud Finchley.
Add possible reconfiguration of max total threads of thriftClientsPool.
Disable proxy factory optimization
Update to SpringBoot 1.4.x
Thanks to @Quaiks for this contribution
Add retry capabilities
Retry capabilities using {serviceName}.maxRetries value are added to retry on connection timeouts and 'no instance available' exceptions
Plus deadlock fix
Thanks to @jihor for contribution
Fix issue with inherited case for @ThriftClient annotation
When a class and it's super class both define fields that are annotated with ThriftClient annotation,
only fields in super class would get initialized. In this release this issue is fixed
All logging aspects are moved into one interceptor
Now API clients can control all logging (including afterThrowing) using their own Interceptor if it is required.
Add custom limits of poll threads for client
Introduce new property: thrift.client.max.threads
that has default value = 8