kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Crotty <josephcro...@gmail.com>
Subject Re: python/avro example producer
Date Wed, 19 Dec 2012 15:21:54 GMT
What exactly does a "payload" mean? Sorry, fairly new to Kafka. Is there a
payload method that needs to be called by the python producer?

Thanks for any insights. Attached some sample code if you have time to lead
us to the water! Probably something simple we are missing.


On Wed, Dec 19, 2012 at 7:46 AM, David Arthur <mumrah@gmail.com> wrote:

> Do you mean a Python producer that sends Avro payloads?
> There are a couple of Python clients floating around, including mine:
> https://github.com/mumrah/**kafka-python<https://github.com/mumrah/kafka-python>
> The Avro package is in pypi (http://pypi.python.org/pypi/**avro/1.7.3<http://pypi.python.org/pypi/avro/1.7.3>),
> with official docs and getting started with Python on the Avro project page
> (http://avro.apache.org/docs/**1.7.3/gettingstartedpython.**html<http://avro.apache.org/docs/1.7.3/gettingstartedpython.html>
> )
> Good luck!
> On 12/18/12 10:38 PM, Joseph Crotty wrote:
>> Anyone have a python/avro producer that slurps up records from a flat file
>> (i.e., mix of string and binary data) and publishes to Kafka they would be
>> willing to share?
>> Starting to think this might be a whole lot faster to do in Java, but
>> maybe
>> someone has a Python solution already in hand.
>> Joe

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message