kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neha Narkhede <neha.narkh...@gmail.com>
Subject Re: Kafka snappy compression
Date Thu, 27 Mar 2014 12:31:01 GMT
Currently the console producer only supports GZIP. Could you please file a
JIRA for the snappy support?




On Thu, Mar 27, 2014 at 5:21 AM, 小宇 <mockingror@gmail.com> wrote:

> Yes,maybe I missed something, and how can I send message in snappy
> compression with Kafka-console-producer?
> Thanks.
>
> Neha Narkhede <neha.narkhede@gmail.com>于2014年3月27日星期四写道:
>
> > Have you followed the wire protocol documented here -
> >
> >
> https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol
> >
> >
> >
> >
> > On Thu, Mar 27, 2014 at 3:22 AM, 小宇 <mockingror@gmail.com<javascript:;>>
> > wrote:
> >
> > > Hi, all
> > > I'm working on snappy compression in our Node.js client (
> > > https://github.com/SOHU-Co/kafka-node),but I found the offset of
> message
> > > always 0 after snappy compression, for example: <Buffer 00 00 00 00 00
> 00
> > > 00 00 00 00 00 19 3e 69 5f c8 00 00 00 00 00 00 00 00 00 0b 7b 22 6f 6e
> > 65
> > > 22 3a 22 31 22 7d>, I try to test it in kafka-cosole-producer.sh, but
> it
> > > seems not support snappy. So I can't figure out what's wrong with my
> > > client. Did anyone encounter the same problem?
> > > Thanks.
> > >
> >
>

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