You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by André Lemos <al...@plux.info> on 2017/12/11 12:33:54 UTC

Thrift with RabbitMQ

Hi,


I have been playing around with Thirft on a project that requires RabbitMQ
(Python). I can connect to RabbitMQ fine, but then I get a *Thrift
generated* message from another component.

Is there anyway I can decode it/parse unto a Thrift object, without having
to resource to TTransport/TSocket?


Thank you,

André Lemos

*Software & Product Director*

skype lemos_pt <http://is.gd/lcj79S> | +351 211 956 542

www.plux.info | www.biosignalsplux.com

www.bitalino.com | www.physioplux.com

Re: Thrift with RabbitMQ

Posted by Jens Geyer <je...@hotmail.com>.
It may be worth noting that the contrib folder has some hidden gems too.


-----Ursprüngliche Nachricht----- 
From: Randy Abernethy
Sent: Monday, December 11, 2017 3:15 PM
To: user@thrift.apache.org
Subject: Re: Thrift with RabbitMQ

Sure thing.

On Mon, Dec 11, 2017 at 6:07 AM, André Lemos <al...@plux.info> wrote:

> Wow, awesome! Glancing to the code, it seems like *exactly* what I need.
> Thank you!
>
>
> On Mon, Dec 11, 2017 at 1:41 PM, Randy Abernethy <ra...@apache.org> wrote:
>
> > It is easy, but poorly undocumented, making it very hard. Here's a 
> > sample
> > app in Python that should help:
> > https://github.com/RandyAbernethy/ThriftBook/tree/master/part3/mq
> >
> > --Randy
> >
> > On Mon, Dec 11, 2017 at 4:33 AM, André Lemos <al...@plux.info> wrote:
> >
> > > Hi,
> > >
> > >
> > > I have been playing around with Thirft on a project that requires
> > RabbitMQ
> > > (Python). I can connect to RabbitMQ fine, but then I get a *Thrift
> > > generated* message from another component.
> > >
> > > Is there anyway I can decode it/parse unto a Thrift object, without
> > having
> > > to resource to TTransport/TSocket?
> > >
> > >
> > > Thank you,
> > >
> > > André Lemos
> > >
> > > *Software & Product Director*
> > >
> > > skype lemos_pt <http://is.gd/lcj79S> | +351 211 956 542
> > >
> > > www.plux.info | www.biosignalsplux.com
> > >
> > > www.bitalino.com | www.physioplux.com
> > >
> >
> 


Re: Thrift with RabbitMQ

Posted by Randy Abernethy <ra...@apache.org>.
Sure thing.

On Mon, Dec 11, 2017 at 6:07 AM, André Lemos <al...@plux.info> wrote:

> Wow, awesome! Glancing to the code, it seems like *exactly* what I need.
> Thank you!
>
>
> On Mon, Dec 11, 2017 at 1:41 PM, Randy Abernethy <ra...@apache.org> wrote:
>
> > It is easy, but poorly undocumented, making it very hard. Here's a sample
> > app in Python that should help:
> > https://github.com/RandyAbernethy/ThriftBook/tree/master/part3/mq
> >
> > --Randy
> >
> > On Mon, Dec 11, 2017 at 4:33 AM, André Lemos <al...@plux.info> wrote:
> >
> > > Hi,
> > >
> > >
> > > I have been playing around with Thirft on a project that requires
> > RabbitMQ
> > > (Python). I can connect to RabbitMQ fine, but then I get a *Thrift
> > > generated* message from another component.
> > >
> > > Is there anyway I can decode it/parse unto a Thrift object, without
> > having
> > > to resource to TTransport/TSocket?
> > >
> > >
> > > Thank you,
> > >
> > > André Lemos
> > >
> > > *Software & Product Director*
> > >
> > > skype lemos_pt <http://is.gd/lcj79S> | +351 211 956 542
> > >
> > > www.plux.info | www.biosignalsplux.com
> > >
> > > www.bitalino.com | www.physioplux.com
> > >
> >
>

Re: Thrift with RabbitMQ

Posted by André Lemos <al...@plux.info>.
Wow, awesome! Glancing to the code, it seems like *exactly* what I need.
Thank you!


On Mon, Dec 11, 2017 at 1:41 PM, Randy Abernethy <ra...@apache.org> wrote:

> It is easy, but poorly undocumented, making it very hard. Here's a sample
> app in Python that should help:
> https://github.com/RandyAbernethy/ThriftBook/tree/master/part3/mq
>
> --Randy
>
> On Mon, Dec 11, 2017 at 4:33 AM, André Lemos <al...@plux.info> wrote:
>
> > Hi,
> >
> >
> > I have been playing around with Thirft on a project that requires
> RabbitMQ
> > (Python). I can connect to RabbitMQ fine, but then I get a *Thrift
> > generated* message from another component.
> >
> > Is there anyway I can decode it/parse unto a Thrift object, without
> having
> > to resource to TTransport/TSocket?
> >
> >
> > Thank you,
> >
> > André Lemos
> >
> > *Software & Product Director*
> >
> > skype lemos_pt <http://is.gd/lcj79S> | +351 211 956 542
> >
> > www.plux.info | www.biosignalsplux.com
> >
> > www.bitalino.com | www.physioplux.com
> >
>

Re: Thrift with RabbitMQ

Posted by Randy Abernethy <ra...@apache.org>.
It is easy, but poorly undocumented, making it very hard. Here's a sample
app in Python that should help:
https://github.com/RandyAbernethy/ThriftBook/tree/master/part3/mq

--Randy

On Mon, Dec 11, 2017 at 4:33 AM, André Lemos <al...@plux.info> wrote:

> Hi,
>
>
> I have been playing around with Thirft on a project that requires RabbitMQ
> (Python). I can connect to RabbitMQ fine, but then I get a *Thrift
> generated* message from another component.
>
> Is there anyway I can decode it/parse unto a Thrift object, without having
> to resource to TTransport/TSocket?
>
>
> Thank you,
>
> André Lemos
>
> *Software & Product Director*
>
> skype lemos_pt <http://is.gd/lcj79S> | +351 211 956 542
>
> www.plux.info | www.biosignalsplux.com
>
> www.bitalino.com | www.physioplux.com
>