Monitoring leader changes

2015-11-03 Thread Marko Bonaći
Hi guys, to get straight to the point, we have a local "cache" (cache in the Guava sense: https://github.com/google/guava/wiki/CachesExplained) in our server application that stores info about the current leader (used to construct SimpleConsumer). We want to have that information updated as soon

Re: Re: New Consumer throws GroupCoordinatorNotAvailableException

2015-11-03 Thread Alexey Pirogov
Thanks for reply. Maybe it will be useful, I've noticed that after I tried to use client 0.9 with server 0.8.2 my data got corrupted. I wasn't able to read data from existing topics after I switched back to client 0.8.2. Cleaning kafka's and zk's data folders and creating topic from scratch

Unable to create a topic from console producer even though topic creation is enabled

2015-11-03 Thread Kishore N C
Hi all, I have a 3-node Kafka cluster. I'm running into the following error when I try to use the console producer to write to a topic that does *not* yet exist. I have ensured that "auto.create.topics.enable=true" in server.properties. The error: ubuntu@ip-XX-X-XXX-XX:/usr/local/kafka$

Partition assigned to a dead host - no rebalancing or topic delete possible?

2015-11-03 Thread Yann Schwartz
Hello, If I understood topic deletion correctly, the controller waits for all brokers to ack the partition deletion. So if a partition is assigned to a dead broker, deletion will never happen. It seems that rebalancing pretty much works the same way, so we can't rebalance partitions

Re: Controller sometimes lose ISR

2015-11-03 Thread Gleb Zhukov
Hi, Mayuresh. No, this log before restart 61. But I found some interesting logs about ZK on problem broker: root@kafka3d:~# zgrep 'zookeeper state changed (Expired)' /var/log/kafka/*/* /var/log/kafka/2015-10-30/kafka-2015-10-30.log.gz:[2015-10-30 23:02:31,001] 284371992 [main-EventThread] INFO

Re: Kafka GIT 7c334752 issue with metrics

2015-11-03 Thread Jun Rao
Hannu, Thanks for reporting this. Filed https://issues.apache.org/jira/browse/KAFKA-2730 for further investigation. If you have more input, please add it to the jira. Jun On Tue, Nov 3, 2015 at 6:55 AM, Hannu Valtonen wrote: > Hi, > > I updated our test system to use

Re: One more Kafka Meetup hosted by LinkedIn in 2015 (this time in San Francisco) - does anyone want to talk?

2015-11-03 Thread Lukas Steiblys
This is sad news. I was looking forward to finally going to a Kafka or Samza meetup. Going to Mountain View for a meetup is just unrealistic with 2h travel time each way. Lukas -Original Message- From: Ed Yakabosky Sent: Tuesday, November 3, 2015 10:36 AM To: users@kafka.apache.org

Load balancer for Kafka brokers

2015-11-03 Thread Cassa L
Hi, Has anyone used load balancers between publishers and Kafka brokers? I want to do active-passive setup of Kafka in two datacenters. My question is can I add GSLB layer between these two Kafka clusters to configure automatic fail over while publishing data? Thanks, LCassa

Kafka 090 maven coordinate

2015-11-03 Thread Fajar Maulana Firdaus
Hi, I saw that there is new kafka client 0.9.0 in here: http://kafka.apache.org/090/javadoc/index.html So what is the maven coordinate for this version? I am asking this because it has KafkaConsumer api which doesn't exist in 0.8.2 Thank you

Re: One more Kafka Meetup hosted by LinkedIn in 2015 (this time in San Francisco) - does anyone want to talk?

2015-11-03 Thread Ed Yakabosky
Hi all, Two corrections to the invite: 1. The invitation is for November 18, 2015. *NOT 2016.* I was a little hasty... 2. LinkedIn has finished remodeling our broadcast room, so we are going to host the meet up in Mountain View, not San Francisco. We've arranged for speakers from

Re: zookeeper cluster change impact on kafka

2015-11-03 Thread Flavio Junqueira
I'm copying the Kafka user list here: > We have a 3 node zookeeper cluster and a kafka cluster (3 nodes) using this > zookeeper cluster. we want to migrate the zookeeper nodes to better boxes ( > hardware improvements). we already setup 3 new nodes. > > can some one tell me what is the safe way

Re: Load balancer for Kafka brokers

2015-11-03 Thread Todd Palino
We use loadbalancers for our producer configurations, but what you need to keep in mind is that that connection is only used for metadata requests. The producer queries the loadbalancer IP for metadata for the topic, then disconnects and reconnects directly to the Kafka brokers for producing

Re: Kafka 090 maven coordinate

2015-11-03 Thread Fajar Maulana Firdaus
I see, thank you for your explanation, will the client of 0.9.0.0 be backward compatible with 0.8.2.2 kafka? On Wed, Nov 4, 2015 at 2:52 AM, Ewen Cheslack-Postava wrote: > 0.9.0.0 is not released yet, but the last blockers are being addressed and > release candidates should

Re: Kafka 090 maven coordinate

2015-11-03 Thread Ewen Cheslack-Postava
0.9.0.0 is not released yet, but the last blockers are being addressed and release candidates should follow soon. The docs there are just staged as we prepare for the release (note, e.g., that the latest release on the downloads page http://kafka.apache.org/downloads.html is still 0.8.2.2). -Ewen

Re: Kafka GIT 7c334752 issue with metrics

2015-11-03 Thread Guozhang Wang
Hannu, Could you past the related server-side request logs before this exception thrown if you have any? Particularly, we are interested in the LeaderAndISR request reception traces. And to clarify, when you "upgrade the system tests with the newest version" you mean all the brokers are using

Re: Kafka 090 maven coordinate

2015-11-03 Thread Grant Henke
Hi Fajar, Please see my response to a similar email here: http://search-hadoop.com/m/uyzND1ifZt65CCBS If you still have questions, please do not hesitate to ask. Thank you, Grant On Tue, Nov 3, 2015 at 5:07 PM, Fajar Maulana Firdaus wrote: > I see, thank you for your

Release 0.9.0

2015-11-03 Thread Mohit Anchlia
Is there a tentative release date for Kafka 0.9.0?

Re: Load balancer for Kafka brokers

2015-11-03 Thread Cassa L
Thanks for detail answer. Regards, LCassa On Tue, Nov 3, 2015 at 10:54 AM, Todd Palino wrote: > We use loadbalancers for our producer configurations, but what you need to > keep in mind is that that connection is only used for metadata requests. > The producer queries the

kafka_2.9.2-0.8.2.0 - Topic marked for deletion

2015-11-03 Thread Kumar, Avinash
Hi, I am trying to delete the kafka topic, verison I am using is 2.9.2-0.8.2. I am using dockerized kafka to delete the topic already created and didn’t set the “delete.topic.enable=true”. When I am listing the topics, it is giving as “ marked for deletion”. Is this a bug? However when I am

Re: Authorization Engine For Kafka Related to KPI-11

2015-11-03 Thread Bhavesh Mistry
On Sun, Nov 1, 2015 at 11:15 PM, Bhavesh Mistry wrote: > HI All, > > Have any one used Apache Ranger as Authorization Engine for Kafka Topic > creation, consumption (read) and write operation on a topic. I am looking > at having audit log and regulating consumption/

Re: Authorization Engine For Kafka Related to KPI-11

2015-11-03 Thread Bhavesh Mistry
+ Kafka Dev team to see if Kafka Dev team know or recommend any Auth engine for Producers/Consumers. Thanks, Bhavesh Please pardon me, I accidentally send previous blank email. On Tue, Nov 3, 2015 at 9:52 PM, Bhavesh Mistry wrote: > On Sun, Nov 1, 2015 at 11:15

Re: One more Kafka Meetup hosted by LinkedIn in 2015 (this time in San Francisco) - does anyone want to talk?

2015-11-03 Thread Grant Henke
Is there a place where we can find all previously streamed/recorded meetups? Thank you, Grant On Tue, Nov 3, 2015 at 2:07 PM, Ed Yakabosky wrote: > I'm sorry to hear that Lukas. I have heard that people are starting to do > carpools via rydeful.com for some of these

Re: Release 0.9.0

2015-11-03 Thread Grant Henke
Hi Mohit, http://search-hadoop.com/ is great for searching the mailing lists for information like this. A quick search for "0.9.0 release" (link: http://search-hadoop.com/?q=0.9.0+release=144408960=144668160_project=Kafka) shows some great threads on the current status. The first thread

Re: kafka_2.9.2-0.8.2.0 - Topic marked for deletion

2015-11-03 Thread Grant Henke
Hi Avinash, This is working as expected. Since delete topics is not enabled, they get marked for deletion, but never get deleted. Once you enable topic deletion (delete.topic.enable=true) the topics marked get delete. Once the topic is marked for deletion messages will still be available. It is

Re: Unable to create a topic from console producer even though topic creation is enabled

2015-11-03 Thread Artem Ervits
change the order of your commands *bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test* On Tue, Nov 3, 2015 at 7:23 AM, Kishore N C wrote: > Hi all, > > I have a 3-node Kafka cluster. I'm running into the following error when I > try to use the

Kafka GIT 7c334752 issue with metrics

2015-11-03 Thread Hannu Valtonen
Hi, I updated our test system to use Kafka from latest revision 7c33475274cb6e65a8e8d907e7fef6e56bc8c8e6 and now I'm seeing: [2015-11-03 14:07:01,554] ERROR [KafkaApi-2] error when handling request