Chocolatey packages for ZooKeeper, Kafka?

2016-07-28 Thread Andrew Pennebaker
Could we please publish Chocolatey packages for ZooKeeper and Kafka, to make it easier for newbies to get started? https://chocolatey.org/ -- Cheers, Andrew

Re: Log retention not working

2016-07-28 Thread David Yu
We did update the default log dirs. So shouldn't be an issue. On Thu, Jul 28, 2016 at 2:56 PM Samuel Taylor wrote: > I think the default puts the log directory in /tmp/kafka-logs. It may be > worth configuring your settings to put your logs somewhere else and seeing > what happens. > > On Thu, J

SSD or not for Kafka brokers?

2016-07-28 Thread Kessiler Rodrigues
Hi guys, Should I use SSD for my brokers or not? What are the pros and cons? Thank you!

Kafka invalid leader

2016-07-28 Thread manoj sharma
Hi , I have a situation . i have 3 broker(id) ==> 58,57,56, some how broker 57 went invalid hduser@node01:~$ kafka-topics --zookeeper node01:2181,node02:2181,rac1:2181 --describe Topic:clouder PartitionCount:1 ReplicationFactor:2 Configs: Topic: clouder Partition: 0 Leader: 56 Replicas: 56,5

Re: Cluster config

2016-07-28 Thread Kessiler Rodrigues
The replication factor is 4. > On Jul 28, 2016, at 5:55 PM, David Garcia wrote: > > What is your replication for these topics? > > On 7/28/16, 3:03 PM, "Kessiler Rodrigues" wrote: > >Hey guys, > >I have > 5k topics with 5 partitions each in my cluster today. > >My actual clu

Re: Cluster config

2016-07-28 Thread David Garcia
What is your replication for these topics? On 7/28/16, 3:03 PM, "Kessiler Rodrigues" wrote: Hey guys, I have > 5k topics with 5 partitions each in my cluster today. My actual cluster configuration is: 6 brokers - 16 vCPUs, 14.4 GB Nowadays, I’m having so

Cluster config

2016-07-28 Thread Kessiler Rodrigues
Hey guys, I have > 5k topics with 5 partitions each in my cluster today. My actual cluster configuration is: 6 brokers - 16 vCPUs, 14.4 GB Nowadays, I’m having some lags when the consumer tries to do rebalance and sometimes even kafka doesn’t get up. What would be a best cluster configurati

Re: Log retention not working

2016-07-28 Thread Samuel Taylor
I think the default puts the log directory in /tmp/kafka-logs. It may be worth configuring your settings to put your logs somewhere else and seeing what happens. On Thu, Jul 28, 2016 at 10:16 AM, David Yu wrote: > Those are all with default value. Will continue investigation. > > On Wed, Jul 27,

Re: KafkaConsumer blocks indefinitely when server settings are wrong

2016-07-28 Thread Oleg Zhurakousky
Also, reading java docs for KafkaConsumer#poll(timeout) states: @param timeout The time, in milliseconds, spent waiting in poll if data is not available. If 0, returns *immediately with any records that are available now. Must not be negative. Yet even setting it to 0 brings no

KafkaConsumer blocks indefinitely when server settings are wrong

2016-07-28 Thread Oleg Zhurakousky
So I have KafkaConsumer that is deliberately set with server properties pointing to non-running broker. Doing KafkaConsumer.poll(100) blocks infinitely even though ‘fetch.max.wait.ms’ is set to 1 millisecond. Basically I am trying to fail when connection is not possible. Any idea how to accompli

Same partition number of different Kafka topcs

2016-07-28 Thread Jack Huang
Hi all, I have an application where I need to join events from two different topics. Every event is identified by an id, which is used as the key for the topic partition. After doing some experiment, I observed that events will go into different partitions even if the number of partitions for both

Reactive Kafka performance

2016-07-28 Thread David Garcia
Our team is evaluating KStreams and Reactive Kafka (version 0.11-M4) on a confluent 3.0 cluster. Our testing is very simple (pulling from one topic, doing a simple transform) and then writing out to another topic. The performance for the two systems is night and day. Both applications were ru

LEADER_NOT_AVAILABLE error

2016-07-28 Thread Benny Ho
Hello, I'm receiving an error while publishing messages to a kafka topic, the steps I took were:1. Starting zookeeper server2. Starting kafka server3. Sending messages to kafka topic with a Kafka Producer 8105 [kafka-producer-network-thread | producer-2] DEBUG org.apache.kafka.clients.NetworkCli

Reassign partitions failures

2016-07-28 Thread Anderson Goulart
Hi, We are having a issue with our kafka cluster when we try to reassign partitions. Imagine the following topic layout file: Kafka Version: 0.8.2 { "partitions": [ { "partition": 0, "replicas": [ 1, 2, 3

Re: Topic not getting deleted on 0.8.2.1

2016-07-28 Thread Manikumar Reddy
many delete topic functionality related issues got fixed in latest versions. It highly recommend to move to latest version. https://issues.apache.org/jira/browse/KAFKA-1757 fixes similar issue on windows platform. On Thu, Jul 28, 2016 at 3:40 PM, Ghosh, Prabal Kumar < prabal.kumar.gh...@sap.com> w

Topic not getting deleted on 0.8.2.1

2016-07-28 Thread Ghosh, Prabal Kumar
Hi Kafka Users, We are using kafka 0.8.2.1.We are not able to delete to any topic . We are using AdminUtils to create and delete topic. The topics get created successfully with correct Leader and isr for each topic partitions. But when we try to delete topic using AdminUtils.deleteTopic(), it fa

Tune Kafka cluster performance

2016-07-28 Thread David Yu
Hi, Kafka, We have a 2 broker staging cluster and a 6 broker prod cluster (all running 0.8.2.1). I'm trying to make sense of the producer performances on both. Here are some perf test results: - Prod: kafka-producer-perf-test.sh --broker-list kafkaProd-1:9092,kafkaProd-2:9092,k

Kafka 0.10.0.0 isn't recovering all the messages after i lose a broker from a new topic created

2016-07-28 Thread Sergio Gonzalez
Hello guys, I have a java consumer with these properties: Properties props = new Properties(); props.put("zookeeper.connect", this.settings.getZookeeperUrl() ); props.put("group.id", this.settings.getGroupId()); props.put("client.id", infoCompania.getCompania()); props.put("zookeeper.

Re: Log retention not working

2016-07-28 Thread David Yu
Those are all with default value. Will continue investigation. On Wed, Jul 27, 2016 at 11:38 PM Manikumar Reddy wrote: > also check if any value set for log.retention.bytes broker config > > On Wed, Jul 27, 2016 at 8:03 PM, Samuel Taylor > wrote: > > > Is it possible that your log directory is

Re: How to get the Global IP address of the Producer?

2016-07-28 Thread Gourab Chowdhury
Hi, Including IP address in the payload of the messages is possible. But if my producer is in a private network, how will the producer know the Gateway IP, from where message is being sent? Thanks Gourab On Thu, Jul 28, 2016 at 3:29 PM, Sivakumaran S wrote: > +1 Vote. Embody all metadata abou

Re: Kafka Connect issues

2016-07-28 Thread Kristoffer Sjögren
We're also seeing lots of failures as the TopicPartitionWriter tries to close WAL files in HDFS [1]. [1] http://pastebin.com/6ipUndZv On Wed, Jul 27, 2016 at 5:01 PM, Kristoffer Sjögren wrote: > The workers seems happier when reducing number of partitions for each > worker. And when adding more

Re: How to get the Global IP address of the Producer?

2016-07-28 Thread Sivakumaran S
+1 Vote. Embody all metadata about the source at the application layer itself, if possible within the 1500 bytes limit of TCP packet. Regards, Sivakumaran > On 28-Jul-2016, at 10:48 AM, Michael Noll wrote: > > One option is to implement the producer applications in such a way that > each produ

Re: How to get the Global IP address of the Producer?

2016-07-28 Thread Sivakumaran S
+1 Vote. Embody all metadata about the source at the application layer itself, if possible within the 1500 bytes limit of TCP packet. Regards, Sivakumaran > On 28-Jul-2016, at 10:48 AM, Michael Noll wrote: > > One option is to implement the producer applications in such a way that > each produ

Re: How to get the Global IP address of the Producer?

2016-07-28 Thread Michael Noll
One option is to implement the producer applications in such a way that each producer includes its own IP address in the payload of the messages it produces. -Michael On Tue, Jul 26, 2016 at 10:15 AM, Gourab Chowdhury wrote: > Hi, > > I am working on a project that includes Apache Kafka. My co

Re: Synchronized block in StreamTask

2016-07-28 Thread Pierre Coquentin
Ok except that I messed up my subscription on dev and didn't receive anything, sorry, I will check in the archive to see the answer. Thanks, On Thu, Jul 28, 2016 at 9:23 AM, Manikumar Reddy wrote: > You already got reply from Guozhang on dev mailing list. > > On Thu, Jul 28, 2016 at 7:09 AM, Pi

Re: Synchronized block in StreamTask

2016-07-28 Thread Manikumar Reddy
You already got reply from Guozhang on dev mailing list. On Thu, Jul 28, 2016 at 7:09 AM, Pierre Coquentin < pierre.coquen...@gmail.com> wrote: > Hi, > > I've a simple technical question about kafka streams. > In class org.apache.kafka.streams.processor.internals.StreamTask, the > method "process

Synchronized block in StreamTask

2016-07-28 Thread Pierre Coquentin
Hi, I've a simple technical question about kafka streams. In class org.apache.kafka.streams.processor.internals.StreamTask, the method "process" uses a synchronized block but I don't see why, the method doesn't seem to be called in a multi-threaded environnement as it's created and only accessed b