We recently started a project where we replaced the thrift client used to inject data into flume with the finagle-thrift client. That was simple -- just regenerate (with the finagle-thrift compiler) the thrift auto-gen classes... and at that point we no longer needed to pull in flume to our client library. With the right configuration, we have no problem injecting events into flume.
Since thrift is wire-compatible between versions, if all you need to do is replace the thrift version on the client, that might save you a bunch of time. Joe On Wed, Nov 23, 2011 at 10:26 AM, Matthew Rathbone <[email protected]>wrote: > Ok great. That's my december project set then. > > -- > Matthew Rathbone > Foursquare | Software Engineer | Server Engineering Team > [email protected] (mailto:[email protected]) | @rathboma ( > http://twitter.com/rathboma) | 4sq (http://foursquare.com/rathboma) > > > > On Wednesday, November 23, 2011 at 12:50 AM, Eric Sammer wrote: > > > Nope, nothing outside of the things you mention below. I haven't > explicitly > > looked at 0.7 but my immediate guess is that you'll need to regenerate > the > > code (trivial) and possibly muck with some of the source / sink code that > > handles instantiation of the thrift client and server. All of this is off > > the cuff though. Caveat emptor. > > > > On Tue, Nov 22, 2011 at 12:17 PM, Matthew Rathbone > > <[email protected] (mailto:[email protected])>wrote: > > > > > We're needing to start using thrift for various other reasons, and we'd > > > really like to use 0.7. Does anyone know if there's a blocking reason > for > > > flume to remain on an earlier version? > > > > > > I'm not terribly familiar with thrift, but I do know some minor > > > refactoring would be required (some interfaces changed to classes), > just > > > wanted to ask the question before I dedicate time to doing it. > > > > > > > > > > > > -- > > > Matthew Rathbone > > > Foursquare | Software Engineer | Server Engineering Team > > > [email protected] (mailto:[email protected]) | @rathboma ( > > > http://twitter.com/rathboma) | 4sq (http://foursquare.com/rathboma) > > > > > > > > > > > -- > > Eric Sammer > > twitter: esammer > > data: www.cloudera.com (http://www.cloudera.com) > > > > > > >
