aatarasoff / spring-thrift-starter Goto Github PK
View Code? Open in Web Editor NEWSet of cool annotations that helps you building Thrift applications with Spring Boot
License: MIT License
Set of cool annotations that helps you building Thrift applications with Spring Boot
License: MIT License
Add optional hystrix wrapper around thrift service calls.
It'll be great if optional toObservable()
method will exists during compile time (dont know how to implement in java, analogue of mixin in groovy and scala).
Hi! I see that LoggingThriftMethodInterceptor
wraps any exception into a TApplicationException
in afterThrowing()
, TApplicationException
being a checked exception. I did a small refactoring of that class and have just left this code as it was. But now it's bothering me. If my callee code results in some runtime exception, the exception chain gets ugly: SomeRuntimeException
-> TApplicationException
-> java.lang.reflect.UndeclaredThrowableException: null
(!) -> org.apache.thrift.transport.TTransportException: HTTP Response code: 406
Maybe it's worth changing the exception type to some runtime exception subclass? The problem is, all libthrift
exceptions are checked.
I want to use TSocketClient
Exception occurs when there is no service with such name in service registry.
Here:
HttpURLConnection iox =
(HttpURLConnection) new URL(this.loadBalancerClient.choose(serviceName)
.getUri().toString() + path).openConnection();
loadBalancerClient.choose(serviceName)
returns null.
Is this package still maintained?
We are looking into using something similar but would like to extend e.g. the collected metrics and I was curious if it made sense to trying to contribute or if simply forking might be the easier option.
the latest release in jcenter is 1.4.0.RELEASE
Is there anyone apply this in production?
For WINDOWS available version 0.9.1 - http://dl.bintray.com/bsideup/thirdparty/
Support for new version of Spring Boot framework
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.