Reputation: 9429
I am new to apache thrift and I am familiar with Scala. But I have not seen any example or any reference on internet, saying it supports Scala. Can some one tell me is there a way to work with scala on thrif. thank you.
Upvotes: 3
Views: 5257
Reputation: 835
Twitters 'Scrooge' is meant as a replacement for the standard Thrift generator and generates Java and Scala code. It works with SBT and seems relatively mature.
Upvotes: 1
Reputation: 146
Yes, thrift can work with scala smoothly. It's not surprising since scala essentially works on JVM. One open-source example is Twitter's Scalding, a scala DSL for Cascading. In scalding, one is able to handle various cascading flows whose tuples are in the type of thrift-based classes. See LongThriftTransformer for example.
Upvotes: 2
Reputation: 62835
I don't mean to be rude, but the very first link for the google query apache thrift scala shows up scrooge, which
So yes, there are ways to work with Thrift in Scala.
Upvotes: 2