You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jay Kreps (JIRA)" <ji...@apache.org> on 2015/02/04 18:11:34 UTC

[jira] [Created] (KAFKA-1919) Metadata request issued with no backoff in new producer if there are no topics

Jay Kreps created KAFKA-1919:
--------------------------------

             Summary: Metadata request issued with no backoff in new producer if there are no topics
                 Key: KAFKA-1919
                 URL: https://issues.apache.org/jira/browse/KAFKA-1919
             Project: Kafka
          Issue Type: Bug
            Reporter: Jay Kreps


Original report:
We have observed high cpu and high network traffic problem when
1) cluster (0.8.1.1) has no topic
2) KafkaProducer (0.8.2-beta) object is created without sending any traffic

We have observed such problem twice. In both cases, problem went away
immediately after one/any topic is created.

Is this a known issue? Just want to check with the community first before I
spend much time to reproduce it.

I couldn't reproduce the issue with similar setup with unit test code in
IDE. start two brokers with no topic locally on my laptop. create a
KafkaProducer object without sending any msgs. but I only tested with
0.8.2-beta for both broker and producer.

Issue exists in 0.8.2 as well:
I have re-run my unit test with 0.8.2.0. same tight-loop problem happened
after a few mins.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)