Distribution of logs over log.dirs

2017-07-04 Thread Jörg Wagner
Cheers! I have a setup with 3 brokers having 27 log.dirs each. Setting up a topic with 27 partitions and 2 replication I would have expected every directory of log.dirs to feature <1 partition. This is not the case (the setup has been the same from the beginning; e.g. no log.dirs added later).

Re: Offset Tools

2016-07-11 Thread Jörg Wagner
. Regards Jan On 11 Jul 2016, at 13:00, Jörg Wagner wrote: Hello! We recently switched to Kafka 0.9.0.1 and currently I don't seem to be able to figure out how to read the consumer offsets via cli. We are using the 0.9.0.1 new consumer and are storing the offsets in kafka. Stat

Offset Tools

2016-07-11 Thread Jörg Wagner
Hello! We recently switched to Kafka 0.9.0.1 and currently I don't seem to be able to figure out how to read the consumer offsets via cli. We are using the 0.9.0.1 new consumer and are storing the offsets in kafka. Status: kafka-consumer-offset-checker.sh is old and deprecated, points to kaf

Re: Can we delete topic in kafka

2016-05-11 Thread Jörg Wagner
ve deleted using command ./kafka-topics.sh --delete --topic topic_billing --zookeeper localhost:2181 It says topic marked as deletion, but it does not actually delete topic. Thanks, Snehalata -- Mit freundlichem Gruß Jörg Wagner Systemadministrator Search & Account Security 1&1 Mail &

Re: unknown (kafka) offsets after restart

2016-05-09 Thread Jörg Wagner
I dug further into this and log.cleaner.enable is false by default in 0.8.2.x which pretty much explains all this. Fixing it now. Thanks! On 09.05.2016 08:17, Jörg Wagner wrote: Thank you James. The log cleaner log is empty and we didn't notice any issue there. The Topic however is ~

Re: unknown (kafka) offsets after restart

2016-05-08 Thread Jörg Wagner
s and therefore the offsets topic just grows forever, which means it will take a long time to read in the topic. You can look in the log-cleaner.log debuglog file to see if there are any error messages there. -James On May 6, 2016, at 6:28 AM, Jörg Wagner wrote: After a bit more looking

Fwd: unknown (kafka) offsets after restart

2016-05-06 Thread Jörg Wagner
. Forwarded Message Subject:unknown (kafka) offsets after restart Date: Fri, 6 May 2016 14:12:24 +0200 From: Jörg Wagner Reply-To: users@kafka.apache.org To: users@kafka.apache.org We're using Kafka 0.8.2 and are puzzled by the offset behaviour when they are stor

unknown (kafka) offsets after restart

2016-05-06 Thread Jörg Wagner
We're using Kafka 0.8.2 and are puzzled by the offset behaviour when they are stored in kafka topics. Upon restart of the Kafka cluster (e.g. due to reconfiguration) it can happen that the offsets are unknown and therefore stop consumers from consuming without knowing their offset. kafka-run

MirrorMaker Status

2016-04-07 Thread Jörg Wagner
Hello! Over half a year ago I noted that the MirrorMaker just stops after hitting a corrupt message, since no error handling is built in. Since some time has passed now I wanted to ask you: what do you use for mirroring now? Which issues have you had? Thanks Jörg

Re: Experiences with corrupted messages

2015-10-02 Thread Jörg Wagner
Tools-SimpleConsumerShell ). Your only other recourse is to iterate past the problem offset. On Thu, Oct 1, 2015 at 1:22 AM, Jörg Wagner wrote: Hey everyone, I've been having some issues with corrupted messages and mirrormaker as I wrote previously. Since there was no feedback, I want to ask a new question

Experiences with corrupted messages

2015-10-01 Thread Jörg Wagner
Hey everyone, I've been having some issues with corrupted messages and mirrormaker as I wrote previously. Since there was no feedback, I want to ask a new question: Did you ever have corrupted messages in kafka? Did things break? How did you recover or work around that? Thanks Jörg

Fwd: MirrorMaker kafka.message.InvalidMessageException

2015-09-23 Thread Jörg Wagner
Cheers! Nobody has an Idea what to do with InvalidMessageExceptions? Jörg Forwarded Message Subject:MirrorMaker kafka.message.InvalidMessageException Date: Fri, 18 Sep 2015 11:37:20 +0200 From: Jörg Wagner Reply-To: users@kafka.apache.org To: users

MirrorMaker kafka.message.InvalidMessageException

2015-09-18 Thread Jörg Wagner
Hey everyone! One of my Mirrormakers is exiting with the following error: [2015-09-18 11:27:35,591] FATAL [mirrormaker-consumer-0] Stream unexpectedly exited. (kafka.tools.MirrorMaker$ConsumerThread) kafka.message.InvalidMessageException: Message is corrupt (stored crc = 3256823012, computed c

Re: Amount of partitions

2015-09-07 Thread Jörg Wagner
Sorry, the messages are keyed. On 07.09.2015 10:08, Jörg Wagner wrote: Thank you very much for both replies. @Tao Thanks, I am aware of and have read that article. I am asking because my experience is completely different :/. Everytime we go beyond 400 partitions the cluster really starts

Re: Amount of partitions

2015-09-07 Thread Jörg Wagner
es alone, and over 50k open when you include network. -Todd On Fri, Sep 4, 2015 at 8:11 AM, tao xiao wrote: Here is a good doc to describe how to choose the right number of partitions http://www.confluent.io/blog/how-to-choose-the-number-of-topicspartitions-in-a-kafka-cluster/ On Fri

Amount of partitions

2015-09-04 Thread Jörg Wagner
Hello! Regarding the recommended amount of partitions I am a bit confused. Basically I got the impression that it's better to have lots of partitions (see information from linkedin etc). On the other hand, a lot of performance benchmarks floating around show only a few partitions are being us

Compression and MirrorMaker

2015-09-01 Thread Jörg Wagner
Hello! I was looking into compression for some WAN mirroring and did some tcpdumping. Our producer is using snappy and I think I can see that in the network traffic. While the outer part of each message is readable, the content looks compressed to me with mostly nonprintable characters. Howe

Re: Painfully slow kafka recovery / cluster breaking

2015-08-26 Thread Jörg Wagner
s On 25.08.2015 15:18, Jörg Wagner wrote: So okay, this is a little embarassing but the core of the issue was that max open files was not set correctly for kafka. It was not an oversight, but a few things together caused that the system configuration was not changed correctly, resulting i

Re: Painfully slow kafka recovery

2015-08-25 Thread Jörg Wagner
are we missing? Cheers Jörg On 24.08.2015 10:31, Jörg Wagner wrote: Thank you for your answers. @Raja No, it also seems to happen if we stop kafka completely clean. @Gwen I was testing the situation with num.replica.fetchers set higher. If you say that was the right direction, I will try it again. W

Re: Painfully slow kafka recovery

2015-08-24 Thread Jörg Wagner
2015 19:18, Rajasekar Elango wrote: We are seeing same behavior in 5 broker cluster when losing one broker. In our case, we are losing broker as well as kafka data dir. Jörg Wagner, Are you losing just broker or kafka data dir as well? Gwen, We have also observed that latency of messages a

Painfully slow kafka recovery

2015-08-21 Thread Jörg Wagner
Hey everyone, here's my crosspost from irc. Our setup: 3 kafka 0.8.2 brokers with zookeeper, powerful hardware (20 cores, 27 logdisks each). We use a handful of topics, but only one topic is utilized heavily. It features a replication of 2 and 600 partitions. Our issue: If one kafka was down