Re: Where to run kafka-consumer-groups.sh from?

2017-07-10 Thread Dmitriy Vsekhvalnov
Guys, let me up this one again. Still looking for comments about kafka-consumer-groups.sh tool. Thank you. On Fri, Jul 7, 2017 at 3:14 PM, Dmitriy Vsekhvalnov wrote: > I've tried 3 brokers on command line, like that: > > /usr/local/kafka/bin/kafka-consumer-groups.sh --bootstrap-server > broker:

Re: Kafka shutdown gracefully

2017-07-10 Thread Tom Bentley
FTR, the problem with the 4096 character limit is a known issue: https://issues.apache.org/jira/browse/KAFKA-4931 Cheers, Tom On 6 July 2017 at 13:55, Kamal C wrote: > Don't use `kill -9 PID`. Use `kill -s TERM PID` - sends a signal to the > process to end, and will trigger any cleanup routine

Re: struggling with runtime Schema in connect

2017-07-10 Thread Koert Kuipers
thanks for that explanation. i use json instead of avro should i use the json serialization that serializes both schema and data, so that the schema travels with the data from source to sink? so set key.converter.schemas.enable=true and value.converter.schemas.enable=true? is it a correct assumpt

Re: struggling with runtime Schema in connect

2017-07-10 Thread Stephen Durfey
Ah, sorry, I have never used the JsonConverter, so didn't know that was actually a thing. Looking at the code it looks like the converter can handle json with or without the schema [1]. Take a look at the json envelope code to get an idea of how the schema is passed along with the message (also in

Re: 0.10.1 memory and garbage collection issues

2017-07-10 Thread Matt Andruff
Total shot in the dark but could it be related, this talks about CPU but could have an impact on memory as well: http://kafka.apache.org/0102/documentation.html#upgrade_10_performance_impact Hope this helps. On Sun, 9 Jul 2017 at 10:45 John Yost wrote: > Hey Ismael, > > Thanks a bunch for resp

Re: 0.9.x to 0.10.x upgrade--any default settings gotchas?

2017-07-10 Thread Ismael Juma
Hi John, Yes, down conversion when consuming messages does increase JVM heap usage as we have to load the data into the JVM heap to convert it. If down conversion is not needed, we are able to send the data without copying it to the JVM heap. Ismael On Sun, Jul 9, 2017 at 4:23 PM, John Yost wro

Re: 0.10.1 memory and garbage collection issues

2017-07-10 Thread John Yost
Hey Matt, Indeed! Ismael mentioned this same link yesterday, tried it this AM, and this change totally fixed the problem! The manifestation we observed was not increased CPU usage, but rather a MUCH larger memory heap requirement. Once I changed log.message.format.version to the version of our cli

Re: 0.9.x to 0.10.x upgrade--any default settings gotchas?

2017-07-10 Thread John Yost
Hi Ismael, Thanks again for sending that link yesterday! I tried it this AM and this change totally fixed the problem! The manifestation we observed was not increased CPU usage, but rather a MUCH larger memory heap requirement. Once I changed log.message.format.version to the version of our client

Re: Kafka-Spark Integration - build failing with sbt

2017-07-10 Thread karan alang
Hi Jozef, all, I seem to be running into another issue .. here is what i did .. I'm running Spark Streaming - Kafka integration using Spark 2.x & Kafka 10. I compiled the program using sbt, and the compilation went through fine. I was able able to import this into Eclipse & run the program from

Re: [DISCUSS] KIP-163: Lower the Minimum Required ACL Permission of OffsetFetch

2017-07-10 Thread Vahid S Hashemian
I'm bumping this up again to get some feedback, especially from some of the committers, on the KIP and on the note below. Thanks. --Vahid From: "Vahid S Hashemian" To: d...@kafka.apache.org Cc: "Kafka User" Date: 06/21/2017 12:49 PM Subject:Re: [DISCUSS] KIP-163: Lower t

Consumer vs replication traffic priority

2017-07-10 Thread Ɓukasz Mierzwa
Hi, looking at docs I see that Kafka seems to support throttling of consumer/replication traffic, but I can't find anything that would suggest you can prioritize one traffic type over another. The problem: if at some point consumers starts to be lagging they will start consuming messages as fast