Re: kafka-python question

2015-08-13 Thread Dana Powers
Hi AL, kafka deals in blobs, so you generally have to manage serialization / deserialization at the producer + consumer level. kafka-python's SimpleProducer and SimpleConsumer classes are fairly naive and operate exclusively on bytes, so if you use those you will have to serialize before producing

kafka-python question

2015-08-13 Thread Sa Li
Hi, All I have a question about kafka-python producer, here is the record I have id (uuid) | sensor_id (character) | timestamp | period (int) | current (numeric) | date_received | factor (bigint) "75da661c-bd5c-40e3-8691-9034f34262e3” | “ff0057” | "2013-03-21 11:44:00-07” | 60 |