-Re: When the consumer needs the decoder?
Jun Rao 2012-11-08, 05:26
Decoder returns type T, which is not part of the java signature. I guess
that we were not sure how to do reflection with generic support.
On Wed, Nov 7, 2012 at 11:28 AM, Hussein Baghdadi <[EMAIL PROTECTED]>wrote:
> Why decoder isn't set in section "Consumer Code" ?
> > Date: Tue, 6 Nov 2012 06:54:13 -0800
> > Subject: Re: When the consumer needs the decoder?
> > From: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > When you call createMessageStreams() in ConsumerConnector, you can pass
> > a decoder.
> > Thanks,
> > Jun
> > On Tue, Nov 6, 2012 at 4:24 AM, Hussein Baghdadi <[EMAIL PROTECTED]
> > >
> > > Hi,
> > > Foe the sender, I wrote a encoder for MessagePack. Why the consumer
> > > doesn't need the accompanying decoder?
> > > Thanks.