Ok, the problem solved, I think it might be because some of the jar files
that I was using were "OLD". I was building the producer and consumer
under the 0.7 environment except swapping out the kafka jar file. Now, I
created a whole new environment and pull in all the jar files from the
0.8. Th
Joel,
Would you mind point me to how I would be able to enable the trace logs in
the producer and broker?
Thanks,
Scott
On Wed, Jul 10, 2013 at 5:33 PM, Joel Koshy wrote:
> Weird - I tried your exact code and it worked for me (although I was
> using 0.8 head and not the beta). Can you re-run
Weird - I tried your exact code and it worked for me (although I was
using 0.8 head and not the beta). Can you re-run with trace logs
enabled in your producer and paste that output? Broker logs also if
you can?
Thanks,
Joel
On Wed, Jul 10, 2013 at 10:23 AM, Scott Wang
wrote:
> Jun,
>
> I did a
Jun,
I did a test this morning and got a very interesting result with you
command. I started by wipe all the log files and clean up all zookeeper
data files.
Once I restarted both server, producer and consumer then execute your
command, what I got is a empty log as following:
Dumping /Users/sco
Could you run the following command on one of the log files of your topic
and attach the output?
bin/kafka-run-class.sh kafka.tools.DumpLogSegments --files
/tmp/kafka-logs/testtopic-0/.log
Thanks,
Jun
On Tue, Jul 9, 2013 at 3:23 PM, Scott Wang <
scott.w...@rumbleentertainme
Another piece of information, the snappy compression also does not work.
Thanks,
Scott
On Tue, Jul 9, 2013 at 11:07 AM, Scott Wang <
scott.w...@rumbleentertainment.com> wrote:
> I just try it and it still not showing up, thanks for looking into this.
>
> Thanks,
> Scott
>
>
> On Tue, Jul 9, 201
I just try it and it still not showing up, thanks for looking into this.
Thanks,
Scott
On Tue, Jul 9, 2013 at 8:06 AM, Jun Rao wrote:
> Could you try starting the consumer first (and enable gzip in the
> producer)?
>
> Thanks,
>
> Jun
>
>
> On Mon, Jul 8, 2013 at 9:37 PM, Scott Wang <
> scott.
Could you try starting the consumer first (and enable gzip in the producer)?
Thanks,
Jun
On Mon, Jul 8, 2013 at 9:37 PM, Scott Wang <
scott.w...@rumbleentertainment.com> wrote:
> No, I did not start the consumer before the producer. I actually started
> the producer first and nothing showed u
No, I did not start the consumer before the producer. I actually started
the producer first and nothing showed up in the consumer unless I commented
out this line -- props.put("compression.codec", "gzip").If I commented
out the compression codec, everything just works.
On Mon, Jul 8, 2013 at
Did you start the consumer before the producer? Be default, the consumer
gets only the new data?
Thanks,
Jun
On Mon, Jul 8, 2013 at 2:53 PM, Scott Wang <
scott.w...@rumbleentertainment.com> wrote:
> I am testing with Kafka 0.8 beta and having problem of receiving message in
> consumer. There
I am testing with Kafka 0.8 beta and having problem of receiving message in
consumer. There is no error so does anyone have any insights. When I
commented out the "compression.code" everything works fine.
My producer:
public class TestKafka08Prod {
public static void main(String [] args) {
11 matches
Mail list logo