Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> C++ Producer => Broker => Java Consumer?


Copy link to this message
-
Re: C++ Producer => Broker => Java Consumer?
Beautiful then!  I thought this cause problems with Java consumer not
knowing how to deserialize, but sounds like I don't have to worry.
 Excellent, thanks!

Otis
--
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/
On Fri, Jan 31, 2014 at 5:43 PM, Philip O'Toole <[EMAIL PROTECTED]> wrote:

> Exactly.
>
> Our C++ producers simply stream bytes to 0.72 Kafka, following Kafka's
> byte-level message spec. Our Java-based Consumers just read bytes and use
> the standard IO libraries to deserialize the data.
>
> Philip
>
>
> On Fri, Jan 31, 2014 at 2:38 PM, Tom Brown <[EMAIL PROTECTED]> wrote:
>
> > The C++ program writes bytes to kafka, and java reads bytes from kafka.
> >
> > Is there something special about the way the messages are being
> serialized
> > in C++?
> >
> > --Tom
> >
> >
> > On Fri, Jan 31, 2014 at 2:36 PM, Philip O'Toole <[EMAIL PROTECTED]>
> wrote:
> >
> > > Is this a Kafka C++ lib you wrote yourself, or some open-source
> library?
> > > What version of Kafka?
> > >
> > > Philip
> > >
> > >
> > > On Fri, Jan 31, 2014 at 1:30 PM, Otis Gospodnetic <
> > > [EMAIL PROTECTED]> wrote:
> > >
> > > > Hi,
> > > >
> > > > If Kafka Producer is using a C++ Kafka lib to produce messages, how
> can
> > > > Kafka Consumers written in Java deserialize them?
> > > >
> > > > Thanks,
> > > > Otis
> > > > --
> > > > Performance Monitoring * Log Analytics * Search Analytics
> > > > Solr & Elasticsearch Support * http://sematext.com/
> > > >
> > >
> >
>