Re: Deleting Kafka consumer offset topic.log files

2018-10-01 Thread naresh Goud
Is this helps? https://stackoverflow.com/questions/42546501/the-retention-period-for-offset-topic-of-kafka/44277227#44277227 On Mon, Oct 1, 2018 at 2:31 PM Kaushik Nambiar wrote: > Hello, > Any updates on the issue? > > > Regards, > Kaushik Nambiar > > On Wed, Sep 26, 2018, 12:37 PM Kaushik Na

Re: Deleting Kafka consumer offset topic.log files

2018-10-01 Thread Kaushik Nambiar
Hello, Any updates on the issue? Regards, Kaushik Nambiar On Wed, Sep 26, 2018, 12:37 PM Kaushik Nambiar wrote: > Hello, > > I am using an SSL Kafka v 0.11.xx on a Linux operating system. > > I can see in the log files that the topic segments are getting deleted > regularly. > The concern I am

Re: Kafka consumer offset topic index not getting deleted

2018-09-26 Thread Satish Duggana
>>Offsets.retention.minutes (default is 7 days, not 24 hours). In 0.11.x , default value was 24 hrs, it is changed to 7 days in 2.0[1]. Kaushik mentions that they are using 0.11.xx 1. http://kafka.apache.org/documentation/#upgrade_200_notable On Mon, Sep 24, 2018 at 8:42 PM, Kaushik Nambiar wrot

Deleting Kafka consumer offset topic.log files

2018-09-26 Thread Kaushik Nambiar
Hello, I am using an SSL Kafka v 0.11.xx on a Linux operating system. I can see in the log files that the topic segments are getting deleted regularly. The concern I am having is for the system topic which is __consumer_offset , the segments are not getting deleted. So that's contributing to a l

Re: Kafka consumer offset topic index not getting deleted

2018-09-24 Thread Kaushik Nambiar
Hello, Thankyou for your reply. I have attached a text file containing the data within the server.properties file. Also I could see that it was the .log files within the __consumer_offset topic that were sizing around 100 mb each. So due to many such log files,the disk is getting maxed out. Your

Re: Kafka consumer offset topic index not getting deleted

2018-09-24 Thread M. Manna
What are your settings for: 1) Offsets.retention.check.interval.ms 2) Offsets.retention.minutes (default is 7 days, not 24 hours). Also, did this occur even after you restarted any individual brokers? Please share the server.properties "As is" for your case. Regards, On Mon, 24 Sep 2018 at 12:1

Kafka consumer offset topic index not getting deleted

2018-09-24 Thread Kaushik Nambiar
Hello, I am using a Kafka with version 0.11.xx. When I check the logs I can see the index segments for user defined topics are getting deleted. But I cannot find the indices for the consumer_offset topic getting deleted. That's causing around GBs of data getting accumulated in our persistent disk.

Re: Kafka consumer offset topic deletion

2018-09-21 Thread Kaushik Nambiar
Hello, Please find the server.properties info. The Kafka server is running on a Ubuntu 14.XX instance. I have removed all the commented section. So the data I post below would be the only properties we are using for our server. All the other properties are commented(so I guess the default values a

Re: Kafka consumer offset topic deletion

2018-09-18 Thread Kaushik Nambiar
Hello Bret, About the properties you mentioned earlier. I couldn't find any of these properties in my server.properties file. So we were assuming the default values would b in place. So I guess the default values for the above mentioned properties are true and 24 hours for Kafka 0.11.xx Regards, K

Re: Kafka consumer offset topic deletion

2018-09-18 Thread Kaushik Nambiar
Hello Bret, Thank you for your reply. For one consumer offset topic,I can see many log segments.Each log segment is around 100 mb. So due to many such log segments we are experiencing such data issues. Your views on this one Regards, Kaushik Nambiar On Wed, Sep 19, 2018, 10:37 AM Brett Rann wrot

Re: Kafka consumer offset topic deletion

2018-09-18 Thread Brett Rann
That's unusually large. Ours are around 32k-90mb each. Initially curious if you have log.cleaner.enable=true and what offsets.retention.minutes is set to. And yes it can affect cluster performance. We had instances of consumer outages that were caused by bugged large consumer offfset files, especi

Re: Kafka consumer offset topic deletion

2018-09-18 Thread Liam Clarke
Odd that the log compaction isn't working. What OS is your broker running on and can you please post your server.properties? On Wed, 19 Sep. 2018, 2:13 am Kaushik Nambiar, wrote: > > > > Hello, > > We have a Kafka 0.11.xx version setup. > > So the system topic which is __consumer_offset, we are

Kafka consumer offset topic data

2018-09-18 Thread Kaushik Nambiar
Hello, We have a Kafka 0.11.xx version setup. So the system topic which is __consumer_offset, we are looking at many such topics like __consumer_offset-1,2,4. So one topic in particular,is now having log segments which is contributing to 5GB of data. I had a look at our server.properties file b

Kafka consumer offset topic deletion

2018-09-18 Thread Kaushik Nambiar
Hello, We have a Kafka 0.11.xx version setup. So the system topic which is __consumer_offset, we are looking at many such topics like __consumer_offset-1,2,4. So one topic in particular,is now having log segments which is contributing to 5GB of data. I had a look at our server.properties file b

Re: Kafka consumer offset topic deletion

2018-09-18 Thread Kaushik Nambiar
> > Hello, > We have a Kafka 0.11.xx version setup. > So the system topic which is __consumer_offset, we are looking at many > such topics like __consumer_offset-1,2,4. > So one topic in particular,is now having log segments which is > contributing to 5GB of data. > I had a look at our server.p

Kafka - Consumer Offset Reset Automatically

2017-08-25 Thread Daniccan VP
Hi Users, While using Apache Kafka with a Java API High Level Consumer, I get the following error sometimes, WARNpool-1-thread-4 Auto-commit of offsets {my_topic-2=OffsetAndMetadata{offset=53847, metadata=''}} failed for group my_consumer_group: Offset commit failed with a retriable exception. Yo

Re: Kafka consumer offset reset

2017-03-22 Thread Stevo Slavić
Hello Jakub, Maybe you're interested in feature that's not yet available but is being proposed and discussed (on dev ML) for future - see https://cwiki.apache.org/confluence/display/KAFKA/KIP-122%3A+Add+Reset+Consumer+Group+Offsets+tooling Kind regards, Stevo Slavic. On Tue, Mar 21, 2017 at 4:43

Re: Kafka consumer offset reset

2017-03-21 Thread Robert Quinlivan
What offset do you want to reset them to? The easier way to adjust offsets in 0.10 is to attach a consumer for the target topic-partition and seek to the position you desire and commit that new offset. On Tue, Mar 21, 2017 at 9:56 AM, Jakub Stransky wrote: > Hello, > > just recently migrated to

Kafka consumer offset reset

2017-03-21 Thread Jakub Stransky
Hello, just recently migrated to using Kafka 0.10.1.0 I would like to reset position for some consumers. I went through documentation and couldn't spot it how to achieve that. All what I got is that v 10 reduces usage of zookeeper and clients have possibility to use different storage for maintain

Re: Kafka consumer offset location

2017-02-09 Thread Igor Kuzmenko
I don't control consumer directly. I'm using apache Storm with kafka spout to read topic. On Thu, Feb 9, 2017 at 5:28 PM, Mahendra Kariya wrote: > You can use the seekToBeginning method of KafkaConsumer. > > https://kafka.apache.org/0100/javadoc/org/apache/kafka/clients/consumer/ > KafkaConsumer

Re: Kafka consumer offset location

2017-02-09 Thread Mahendra Kariya
You can use the seekToBeginning method of KafkaConsumer. https://kafka.apache.org/0100/javadoc/org/apache/kafka/clients/consumer/KafkaConsumer.html#seekToBeginning(java.util.Collection) On Thu, Feb 9, 2017 at 7:56 PM, Igor Kuzmenko wrote: > Hello, I'm using new consumer to read kafka topic. For

Kafka consumer offset location

2017-02-09 Thread Igor Kuzmenko
Hello, I'm using new consumer to read kafka topic. For testing, I want to read the same topic from the beggining multiple times, with same consumer. Before restarting test, I want to delete consumer offsets, so consumer start read from begining. Where can I find offsets?

Re: kafka-consumer-offset-checker complaining about NoNode for X in zk

2017-02-02 Thread Ara Ebrahimi
han zookeeper. >> You can use the --new-consumer option to check for kafka stored offsets. >> >> Best Jan >> >> >> On 01.02.2017 21:14, Ara Ebrahimi wrote: >>> Hi, >>> >>> For a subset of our topics we get this error: >>> &g

Re: kafka-consumer-offset-checker complaining about NoNode for X in zk

2017-02-02 Thread Jan Filipiak
offsets. Best Jan On 01.02.2017 21:14, Ara Ebrahimi wrote: Hi, For a subset of our topics we get this error: $KAFKA_HOME/bin/kafka-consumer-offset-checker.sh --group argyle-streams --topic topic_name --zookeeper $ZOOKEEPERS [2017-02-01 12:08:56,115] WARN WARNING: ConsumerOffsetChecker is

Re: kafka-consumer-offset-checker complaining about NoNode for X in zk

2017-02-02 Thread Jan Filipiak
: $KAFKA_HOME/bin/kafka-consumer-offset-checker.sh --group argyle-streams --topic topic_name --zookeeper $ZOOKEEPERS [2017-02-01 12:08:56,115] WARN WARNING: ConsumerOffsetChecker is deprecated and will be dropped in releases following 0.9.0. Use ConsumerGroupCommand instead

kafka-consumer-offset-checker complaining about NoNode for X in zk

2017-02-01 Thread Ara Ebrahimi
Hi, For a subset of our topics we get this error: $KAFKA_HOME/bin/kafka-consumer-offset-checker.sh --group argyle-streams --topic topic_name --zookeeper $ZOOKEEPERS [2017-02-01 12:08:56,115] WARN WARNING: ConsumerOffsetChecker is deprecated and will be dropped in releases following 0.9.0. Use

Re: Kafka consumer offset info lost

2017-01-12 Thread Mahendra Kariya
Producers were publishing data for the topic. And consumers were also connected, sending heartbeat pings every 100 ms. On Thu, 12 Jan 2017 at 17:15 Michael Freeman wrote: > If the topic has not seen traffic for a while then Kafka will remove the > stored offset. When your consumer reconnects K

Re: Kafka consumer offset info lost

2017-01-12 Thread Michael Freeman
If the topic has not seen traffic for a while then Kafka will remove the stored offset. When your consumer reconnects Kafka no longer has the offset so it will reprocess from earliest. Michael > On 12 Jan 2017, at 11:13, Mahendra Kariya wrote: > > Hey All, > > We have a Kafka cluster hosted

Kafka consumer offset info lost

2017-01-12 Thread Mahendra Kariya
Hey All, We have a Kafka cluster hosted on Google Cloud. There was some network issue on the cloud and suddenly, the offset for a particular consumer group got reset to earliest and all of a sudden the lag was in millions. We aren't able to figure out what went wrong. Has anybody faced the same/si

Re: Kafka consumer offset uniqueness

2016-11-14 Thread Zakee
Yes, offsets are unique per partition. > I've observed that for example I had offset values equal to zero more times > then there is the number of Kafka partitions. Can you elaborate a little more what you observed? -Zakee > On Nov 14, 2016, at 10:06 AM, Dominik Safaric > wrote: > > Hi all,

Kafka consumer offset uniqueness

2016-11-14 Thread Dominik Safaric
Hi all, I've been wondering- is the offset gotten with ConsumerRecord<>().offset() always unique for each partition? Asking because while I've been running a consumer group, I've observed that for example I had offset values equal to zero more times then there is the number of Kafka partitions

Re: Kafka consumer offset checker hangs indefinitely

2015-05-14 Thread Meghana Narasimhan
t; > >> I am confused aas in why is it not connecting some other broker if > > > > >> connection to this broker fails. Can you check if the broker is > up? > > > > >> > > > > >> The way it works is the consumer will send a > Consumer

Re: Kafka consumer offset checker hangs indefinitely

2015-05-14 Thread Rajasekar Elango
t; > > >> one > > > >> of the brokers and get the offsetmanager for its group and then > > perform > > > >> the > > > >> offset management. > > > >> > > > >> Thanks, > > > >> > > >

Re: Kafka consumer offset checker hangs indefinitely

2015-05-14 Thread Meghana Narasimhan
nagement. > > >> > > >> Thanks, > > >> > > >> Mayuresh > > >> > > >> On Fri, May 8, 2015 at 9:22 AM, Meghana Narasimhan < > > >> mnarasim...@bandwidth.com> wrote: > > >> > > >> > Hi,

Re: Kafka consumer offset checker hangs indefinitely

2015-05-11 Thread Mayuresh Gharat
Meghana Narasimhan < > >> mnarasim...@bandwidth.com> wrote: > >> > >> > Hi, > >> > I'm using the Kafka 8.2.1 version(kafka_2.11-0.8.2.1) and the consumer > >> > offset checker hangs indefinitely and does not return any results. I > &g

Re: Kafka consumer offset checker hangs indefinitely

2015-05-11 Thread Meghana Narasimhan
the Kafka 8.2.1 version(kafka_2.11-0.8.2.1) and the consumer >> > offset checker hangs indefinitely and does not return any results. I >> > enabled the debug for tools and below is the debug statements as seen on >> > the stdout. Any thoughts or inputs on this will

Kafka consumer offset checker hangs indefinitely

2015-05-08 Thread Meghana Narasimhan
mmand used : bin/kafka-consumer-offset-checker.sh --zookeeper localhost:2181 --group test-consumer-group or ./kafka-consumer-offset-checker.sh --zookeeper broker1:2181,broker2:2181,broker3:2181 --group test-consumer-group DEBUG Querying X.X.X.X:9092 to locate offset manager for test-consumer-

Re: Kafka consumer offset checker hangs indefinitely

2015-05-08 Thread Meghana Narasimhan
Kafka 8.2.1 version(kafka_2.11-0.8.2.1) and the consumer > > offset checker hangs indefinitely and does not return any results. I > > enabled the debug for tools and below is the debug statements as seen on > > the stdout. Any thoughts or inputs on this will be much appreciated. >

Re: Kafka consumer offset checker hangs indefinitely

2015-05-08 Thread Mayuresh Gharat
and does not return any results. I > enabled the debug for tools and below is the debug statements as seen on > the stdout. Any thoughts or inputs on this will be much appreciated. > > command used : > bin/kafka-consumer-offset-checker.sh --zookeeper localhost:2181 --group > test-c

Fwd: Kafka consumer offset checker hangs indefinitely

2015-05-08 Thread Meghana Narasimhan
mmand used : bin/kafka-consumer-offset-checker.sh --zookeeper localhost:2181 --group test-consumer-group or ./kafka-consumer-offset-checker.sh --zookeeper broker1:2181,broker2:2181,broker3:2181 --group test-consumer-group DEBUG Querying X.X.X.X:9092 to locate offset manager for test-consumer-

Re: Kafka Consumer Offset

2015-04-02 Thread Mayuresh Gharat
You can use it. Are you facing any problems using it? On Thu, Apr 2, 2015 at 6:53 AM, Amreen Khan wrote: > Is KafkaConsumerOffsetChecker still in development for 0.8.2? > > Amreen Khan -- -Regards, Mayuresh R. Gharat (862) 250-7125

Kafka Consumer Offset

2015-04-02 Thread Amreen Khan
Is KafkaConsumerOffsetChecker still in development for 0.8.2? Amreen Khan