Re: Kafka High Level Consumer OOME

2015-03-17 Thread Guozhang Wang
Hello Dima, The current consumer does not have explicit memory control mechanism, but you can try to indirectly bound the memory usage via the following configs: fetch.message.max.bytes and queued.max.message.chunks. Details can be found at

Re: [ANN] sqlstream: Simple MySQL binlog to Kafka stream

2015-03-17 Thread Hisham Mardam-Bey
Pretty much a hijack / plug as well (= https://github.com/mardambey/mypipe MySQL binary log consumer with the ability to act on changed rows and publish changes to different systems with emphasis on Apache Kafka. Mypipe currently encodes events using Avro before pushing them into Kafka and is

No topic owner when using different assignment strategies

2015-03-17 Thread tao xiao
Hi team, I have two consumer instances with the same group id connecting to two different topics with 1 partition created for each. One consumer uses partition.assignment.strategy=roundrobin and the other one uses default assignment strategy. Both consumers have 1 thread spawned internally and

schema.registry.url = null

2015-03-17 Thread Clint Mcneil
Hi I can't get the Kafka/Avro serializer producer example to work. import org.apache.avro.Schema; import org.apache.avro.generic.GenericData; import org.apache.avro.generic.GenericRecord; import org.apache.kafka.clients.producer.KafkaProducer; import

Re: No topic owner when using different assignment strategies

2015-03-17 Thread tao xiao
This is the corrected zk result Here is the result from zk [zk: localhost:2181(CONNECTED) 0] get /consumers/test/owners/mm-benchmark-test/0 Node does not exist: /consumers/test/owners/mm-benchmark-test/0 [zk: localhost:2181(CONNECTED) 1] get /consumers/test/owners/mm-benchmark-test1/0

Re: consumer groups in python

2015-03-17 Thread Kasper Mackenhauer Jacobsen
We set the partitions the python consumers needs manually for now, I'm looking into a solution using zookeeper (possibly) to balance them out automatically though. On Tue, Mar 17, 2015 at 2:51 PM, Todd Palino tpal...@gmail.com wrote: Yeah, this is exactly correct. The python client does not

Re: [ANN] sqlstream: Simple MySQL binlog to Kafka stream

2015-03-17 Thread Xiao
Hi, all, Do you know whether Linkedin plans to open source Lumos in the near future? I found the answer from Qiao Lin’s post about replication from Oracle/mySQL to Hadoop. - https://engineering.linkedin.com/data-ingestion/gobblin-big-data-ease At the source side, it can be

Re: Broker Exceptions

2015-03-17 Thread Kazim Zakee
Hi Mayuresh, Here are the logs. Broker-4 [2015-03-13 17:49:40,514] INFO Partition [Topic22kv,5] on broker 4: Shrinking ISR for partition [Topic22kv,5] from 2,4,3 to 2,4 (kafka.cluster.Partition) [2015-03-13 17:49:40,514] INFO Partition [Topic22kv,5] on broker 4: Shrinking ISR for partition

Re: Broker Exceptions

2015-03-17 Thread Zakee
Hi Mayuresh, Here are the logs. Old School Yearbook Pics View Class Yearbooks Online Free. Search by School Year. Look Now! http://thirdpartyoffers.netzero.net/TGL3231/5507ca8137dc94a805e6bst01vucBroker-4 [2015-03-13 17:49:40,514]

Re: Broker Exceptions

2015-03-17 Thread Zakee
What version are you running ? Version 0.8.2.0 Your case is 2). But the only thing weird is your replica (broker 3) is requesting for offset which is greater than the leaders log end offset. So what could be the cause? Thanks Zakee On Mar 17, 2015, at 11:45 AM, Mayuresh Gharat

Fw: How to measure performance of Mirror Maker

2015-03-17 Thread Saladi Naidu
Any suggestions on how to measure throughput of the Mirror Maker Naidu Saladi - Forwarded Message - From: Saladi Naidu naidusp2...@yahoo.com To: users@kafka.apache.org users@kafka.apache.org Sent: Monday, March 16, 2015 10:31 PM Subject: How to measure performance of Mirror

Re: Monitoring of consumer group lag

2015-03-17 Thread Mathias Söderberg
Hi Lance, I tried Kafka Offset Monitor a while back, but it didn't play especially nice with a lot of topics / partitions (we currently have around 1400 topics and 4000 partitions in total). Might be possible to make it work a bit better, but not sure it would be the best way to do alerting.

consumer groups in python

2015-03-17 Thread Sloot, Hans-Peter
Hi, I wrote a small python script to consume messages from kafka. The consumer is defined as follows: kafka = KafkaConsumer('my-replicated-topic', metadata_broker_list=['localhost:9092'], group_id='my_consumer_group',

Re: Support for Java 1.8?

2015-03-17 Thread Roger Hoover
Resurrecting an old thread. Are people running Kafka on Java 8 now? On Sun, Aug 10, 2014 at 11:44 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Just curious if you saw any issues with Java 1.8 or if everything went smoothly? Otis -- Performance Monitoring * Log Analytics *

Re: Broker Exceptions

2015-03-17 Thread Mayuresh Gharat
What version are you running ? The code for latest version says that : 1) if the log end offset of the replica is greater than the leaders log end offset, the replicas offset will be reset to logEndOffset of the leader. 2) Else if the log end offset of the replica is smaller than the leaders

Re: Support for Java 1.8?

2015-03-17 Thread Roger Hoover
Thanks, Jon. That helps. On Tue, Mar 17, 2015 at 11:34 AM, Jon Bringhurst jbringhu...@linkedin.com.invalid wrote: At LinkedIn, we're running on 1.8.0u5. YRMV depending on hardware and load, but this is what we typically run with: -server -Xms4g -Xmx4g -XX:PermSize=96m

Re: Broker Exceptions

2015-03-17 Thread Zakee
Hi Mayuresh, The logs are already attached and are in reverse order starting backwards from [2015-03-14 07:46:52,517] to the time when brokers were started. Thanks Zakee On Mar 17, 2015, at 12:07 AM, Mayuresh Gharat gharatmayures...@gmail.com wrote: Hi Zakee, Thanks for the logs.

Re: [ANN] sqlstream: Simple MySQL binlog to Kafka stream

2015-03-17 Thread Arya Ketan
AFAIK , linkedin uses databus to do the same. Aesop is built on top of databus , extending its beautiful capabilities to mysql n hbase On Mar 18, 2015 7:37 AM, Xiao lixiao1...@gmail.com wrote: Hi, all, Do you know how Linkedin team publishes changed rows in Oracle to Kafka? I believe they

Re: [ANN] sqlstream: Simple MySQL binlog to Kafka stream

2015-03-17 Thread Xiao
Hi, all, Do you know how Linkedin team publishes changed rows in Oracle to Kafka? I believe they already knew the whole problem very well. Using triggers? or directly parsing the log? or using any Oracle GoldenGate interfaces? Any lesson or any standard message format? Could the Linkedin

Re: Broker Exceptions

2015-03-17 Thread Mayuresh Gharat
We are trying to see what might have caused it. We had some questions : 1) Is this reproducible? That way we can dig deep. This looks interesting problem to solve and you might have caught a bug, but we need to verify the root cause before filing a ticket. Thanks, Mayuresh On Tue, Mar 17,

Re: No topic owner when using different assignment strategies

2015-03-17 Thread Xiao
I think this is a usability issue. It might need an extra admin tool to verify if all configuration settings are correct, even if the broker can return an error message to the consumers. Thanks, Xiao Li On Mar 17, 2015, at 5:18 PM, Jiangjie Qin j...@linkedin.com.INVALID wrote: The problem

Re: schema.registry.url = null

2015-03-17 Thread Ewen Cheslack-Postava
Clint, Your code looks fine and the output doesn't actually have any errors, but you're also not waiting for the messages to be published. Try changing producer.send(data); to producer.send(data).get(); to wait block until the message has been acked. If it runs and exits cleanly, then you

Re: [ANN] sqlstream: Simple MySQL binlog to Kafka stream

2015-03-17 Thread James Cheng
This is a great set of projects! We should put this list of projects on a site somewhere so people can more easily see and refer to it. These aren't Kafka-specific, but most seem to be MySQL CDC. Does anyone have a place where they can host a page? Preferably a wiki, so we can keep it up to

Re: Monitoring of consumer group lag

2015-03-17 Thread Robin Yamaguchi
Hi Mathias, We call bin/kafka-run-class.sh kafka.tools.ConsumerOffsetChecker via NRPE, and alert through Nagios. -Robin On Tue, Mar 17, 2015 at 2:46 AM, Kasper Mackenhauer Jacobsen kas...@falconsocial.com wrote: Hi Mathias, We're currently using a custom solution that queries kafka and

Re: consumer groups in python

2015-03-17 Thread Todd Palino
Yeah, this is exactly correct. The python client does not implement the Zookeeper logic that would be needed to do a balanced consumer. While it's certainly possible to do it (for example, Joe implemented it in Go), the logic is non-trivial and nobody has bothered to this point. I don't think

RE: consumer groups in python

2015-03-17 Thread Sloot, Hans-Peter
Thanks I just came across this https://github.com/mumrah/kafka-python/issues/112 It says: That contract of one message per consumer group only works for the coordinated consumers which are implemented for the JVM only (i.e., Scala and Java clients). -Original Message- From:

Kafka High Level Consumer OOME

2015-03-17 Thread Dima Dimas
Hi I face to OOME while trying to consume from one topic 10 partitions (100 000 messages each partition) 5 consumers(consumer groups), consumer.timeout=10ms. OOME was gotten after 1-2 minutes after start. Java heap - Xms=1024M LAN about 10Gbit This is standalone application. Kafka version 0.8.2