Getting message '(Re-)joining group' every 5 seconds

2018-05-23 Thread Caroline Even
Hi, I am writing a service consuming messages with Kafka, and I sometimes notice the following INFO log: [Consumer clientId=consumer-1, groupId=my_group] (Re-)joining group After a deployment of my service, this message was logged every 5 seconds, until I re-deployed the service which seemed to

Re: Monitoring and Alerting

2018-05-23 Thread Mike Heffner
Dropping in late on this thread, but we just released our Kafka metrics reporter for AppOptics: https://github.com/appoptics/kafka-appoptics-reporter It ties into the Yammer Metrics reporting interface to capture metrics and publish to Appoptics. Just build and drop the Jar into your Kafka libs di

kafka-spark-stream-cassandra

2018-05-23 Thread Jagannath Bilgi
Hi, Trying to create kafka-spark-stream-cassandra process. Found one solution in jupiter notebook. Trying to simulate the same using python. However Kafka producer terminates with below error messages. Traceback (most recent call last): File "kafkaSendData.py", line 13, in    producer.send('test

Re: Forcing un-assignment of partitions for Kafka application

2018-05-23 Thread Bill Bejeck
Hi Edmondo, While technically you can provide a custom KafkaClientProvider and overwrite the configs for the consumer, I don't recommend you do so. Partition and task assignment is much more involved in Kafka Streams than doing so for plain consumers. Why do you want to force partition assignment

Re: Non duplicated WindowStore in Kstream - KStream Join?

2018-05-23 Thread Matthias J. Sax
Question cross-posted at SO: https://stackoverflow.com/questions/50492491/customize-window-store-implementation-in-kstream-kstream-join I did put an answer there. -Matthias On 5/23/18 8:56 AM, Edmondo Porcu wrote: > We need to perform a Kstream - Kstream join with a very large window, where > a

Re: Failed on publish to Kafka

2018-05-23 Thread Omer Litov
Hi, Thanks, I will try it. I just don’t understand a couple of things: 1. how could reducing the buffer size can help here. 2. What is using a dummy topic relevant? Can’t I just continue to send to the existing topic? Thanks On 23/05/2018, 9:33 AM, "M. Manna" wrote: Can you try following?

Non duplicated WindowStore in Kstream - KStream Join?

2018-05-23 Thread Edmondo Porcu
We need to perform a Kstream - Kstream join with a very large window, where a tick on the left would trigger a join only with the most recent record on the right, and viceversa. This is not how the default window works, since the WindowStoreIterator returned by window.fetch inside the KStreamKStre

Forcing un-assignment of partitions for Kafka application

2018-05-23 Thread Edmondo Porcu
We have a Kafka Streams app that fails to start correctly because somehow the consumer doesn't get assigned any partition and the Queryable stores are not available when the app starts. Is there a way to force release the assignment that consumers have on specific partitions? Edmondo

Understanding rate metrics

2018-05-23 Thread Rodrigo Borges Pereira
Hi, I'm collecting producer metrics via JMX, but I'm not sure how to interpret some values. For example, connection-creation-rate. When I query this value, what is the time window it relates too? Is the value reset every time it's queried? Appreciate the help, thanks

Metric for follower's replication latency

2018-05-23 Thread Uddhav Arote
Hello all, I have a set of brokers and I want to know 'how much time do my brokers spend in replication of a message?'. I have two questions: 1. I did not find any available metric for replication latency (avg, max). 2. Why is there no metric for understanding broker's replication behavior? Uddha

Frequent consumer rebalance, auto commit failures

2018-05-23 Thread Shantanu Deshmukh
We have a 3 broker Kafka 0.10.0.1 cluster. There we have 3 topics with 10 partitions each. We have an application which spawns threads as consumers. We spawn 5 consumers for each topic. I am observing that consider group randomly keeps rebalancing. Then many times we see logs saying "Revoking part

Fwd: Frequent consumer rebalances, auto commit failures

2018-05-23 Thread Shantanu Deshmukh
Hello, We have a 3 broker Kafka 0.10.0.1 cluster. There we have 3 topics with 10 partitions each. We have an application which spawns threads as consumers. We spawn 5 consumers for each topic. I am observing that consider group randomly keeps rebalancing. Then many times we see logs saying "Revoki

Re: How to achieve exactly one semantic in Kafka consumer

2018-05-23 Thread Matthias J. Sax
Assuming, that there are no duplicates in your input topic, as long as no failure occurs, the consumer will read every message exactly-once by default. Only in case of failure, when the consumer "falls back" to an older offset, you might see some duplicates. You will need to write custom code to h