Hussein,

You can use MessagePack to send data to Kafka. As long as you can
convert an object to a byte array, you can send data to Kafka. For an
example, please see step 8 of the producer code section of the
quickstart -
http://incubator.apache.org/kafka/quickstart.html

HTH,
Neha

On Wed, Jun 27, 2012 at 8:01 AM, Jun Rao <jun...@gmail.com> wrote:
> https://github.com/apache/kafka/tree/trunk/clients
>
> Jun
>
> On Wed, Jun 27, 2012 at 7:54 AM, Hussein Baghdadi 
> <hubaghd...@hotmail.com>wrote:
>
>>
>> Which contrib? this one 
>> https://github.com/apache/kafka/tree/trunk/contrib?Nothing but Hadoop 
>> producers and consumers.
>> Can we send MessagePack http://msgpack.org/ to Kafka?
>> Thank you.
>>
>> > Date: Wed, 27 Jun 2012 07:24:00 -0700
>> > Subject: Re: Sending web traffic data to Kafka
>> > From: jun...@gmail.com
>> > To: kafka-users@incubator.apache.org
>> >
>> > There are a few non-java clients (mostly producers) in contrib that you
>> can
>> > try (not exactly sure how up to date each of them is). As for encoding,
>> > anything like JSON or avro should be fine.
>> >
>> > Thanks,
>> >
>> > Jun
>> >
>> > On Wed, Jun 27, 2012 at 5:42 AM, Hussein Baghdadi <
>> hubaghd...@hotmail.com>wrote:
>> >
>> > >
>> > > Hi,I want to send web traffic data to Kafka as events, something
>> > > like:<page, timestamp, user-agent ....>And some other usual suspects.1.
>> > > Which languages can send events to Kafka (in addition to Java)?2. Any
>> guide
>> > > how to write an encoder for my previous event structure?Thanks for
>> help and
>> > > time.
>>
>>

Reply via email to