Re: Need Document and Explanation Of New Metrics Name in New Java Producer on Kafka Trunk

2014-09-10 Thread Bhavesh Mistry
Hi Jun, I have created this issue for tracking purpose https://issues.apache.org/jira/browse/KAFKA-1628 Thanks, Bhavesh On Wed, Sep 10, 2014 at 9:06 PM, Jun Rao wrote: > Hmm, it seems that we do allow "." in the topic name. The topic name can't > be just "." or ".." though. So, if there is a

Re: Need Document and Explanation Of New Metrics Name in New Java Producer on Kafka Trunk

2014-09-10 Thread Jun Rao
Hmm, it seems that we do allow "." in the topic name. The topic name can't be just "." or ".." though. So, if there is a topic "test.1", we will have the following jmx metrics name. kafka.producer.console-producer.topic.test:type=1 It should be changed to kafka.producer.console-producer.topic:typ

Re: Need Document and Explanation Of New Metrics Name in New Java Producer on Kafka Trunk

2014-09-10 Thread Bhavesh Mistry
I am using topic name with "." and it works with old and new producers/consumers. is Kafka enforcing in code or documented limitation ? Thanks, Bhavesh On Wed, Sep 10, 2014 at 3:24 PM, Jun Rao wrote: > We actually don't allow "." in the topic name. Topic name can be > alpha-numeric plus "-"

Re: Need Document and Explanation Of New Metrics Name in New Java Producer on Kafka Trunk

2014-09-10 Thread Jun Rao
We actually don't allow "." in the topic name. Topic name can be alpha-numeric plus "-" and "_". Thanks, Jun On Tue, Sep 9, 2014 at 6:29 PM, Bhavesh Mistry wrote: > Thanks, I was using without JMX. I will go through doc. But how about > Topic or Metric name Topic Name Convention or Metric Na

Re: Need Document and Explanation Of New Metrics Name in New Java Producer on Kafka Trunk

2014-09-09 Thread Bhavesh Mistry
Thanks, I was using without JMX. I will go through doc. But how about Topic or Metric name Topic Name Convention or Metric Name Convention ? The dot notation with topic having a ".". Any future plan to enforce some stand rules. Thanks, Bhavesh On Tue, Sep 9, 2014 at 3:38 PM, Jay Kreps wrote

Re: Need Document and Explanation Of New Metrics Name in New Java Producer on Kafka Trunk

2014-09-09 Thread Jay Kreps
Hi Bhavesh, Each of those JMX attributes comes with documentation. If you open up jconsole and attach to a jvm running the consumer you should be able to read the descriptions for each attribute. -Jay On Tue, Sep 9, 2014 at 2:07 PM, Bhavesh Mistry wrote: > Kafka Team, > > Can you please let me

Need Document and Explanation Of New Metrics Name in New Java Producer on Kafka Trunk

2014-09-09 Thread Bhavesh Mistry
Kafka Team, Can you please let me know what each of following Metrics means ? Some of them are obvious, but some are hard to understand. My Topic name is *TOPIC_NAME*. can we enforce a Topic Name Convention or Metric Name Convention. Because in previous version of Kafka, we have similar issue