Re: Tools to monitor kafka

2015-11-21 Thread Otis Gospodnetic
SPM for Kafka http://sematext.com/spm/integrations/kafka-monitoring.html Otis > On Nov 20, 2015, at 13:32, Mohit Anchlia wrote: > > Are there any command line or UI tools available to monitor kafka?

Re: Consumer lag lies - orphaned offsets?

2015-06-04 Thread Otis Gospodnetic
/JMX bug? Thanks, Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Tue, Jun 2, 2015 at 4:00 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, I've noticed that when we restart our Kafka

Re: Consumer lag lies - orphaned offsets?

2015-06-04 Thread Otis Gospodnetic
,partition=25 Value java.lang.Object = 0 Somebody's lying here. :) Any ideas? Thanks, Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Thu, Jun 4, 2015 at 3:54 PM, Otis Gospodnetic otis.gospodne...@gmail.com

Re: Query on broker info

2015-06-03 Thread Otis Gospodnetic
Hi Pavan, See Monitoring section at https://kafka.apache.org/08/ops.html for various JMX Beans that will tell you about Broker, Producer, and Consumer. See http://sematext.com/spm/integrations/kafka-monitoring.html if you are on 0.8.2 and need something quickly. Otis -- Monitoring * Alerting *

Consumer lag lies - orphaned offsets?

2015-06-02 Thread Otis Gospodnetic
Hi, I've noticed that when we restart our Kafka consumers our consumer lag metric sometimes looks weird. Here's an example: https://apps.sematext.com/spm-reports/s/0Hq5zNb4hH You can see lag go up around 15:00, when some consumers were restarted. The weird thing is that the lag remains flat!

Re: Kafka JMS metrics meaning

2015-06-02 Thread Otis Gospodnetic
Hi, On Tue, Jun 2, 2015 at 12:50 PM, Marina ppi...@yahoo.com.invalid wrote: Hi, I have enabled JMX_PORT for KAfka server and am trying to understand some of the metrics that are being exposed. I have two questions: 1. what are the best metrics to monitor to quickly spot unhealthy Kafka

Re: Offset management: client vs broker side responsibility

2015-06-02 Thread Otis Gospodnetic
Hi, I haven't followed the changes to offset tracking closely, other than that storing them in ZK is not the only option any more. I think what Stevo is asking about/suggesting is that there there be a single API from which offset information can be retrieved (e.g. by monitoring tools), so that

Re: Fw: How to measure performance of Mirror Maker

2015-04-21 Thread Otis Gospodnetic
Hi, I don't know much about MM yet, but what sort of MM performance are you looking for? If MM acts as just another producer for another Kafka cluster (just a guess!) then you could look at the metrics of the consuming cluster to see how fast it's ingesting but if MM works differently, then

Re: Kafka Monitoring using JMX

2015-04-21 Thread Otis Gospodnetic
Hi, Not sure what you are using to get the data out, but if you use SPM http://sematext.com/spm/integrations/kafka-monitoring.html you don't have to worry about any of that... assuming you use either 0.7.x or 0.8.2.x. Kafka metrics have changed drastically in the past and it looks like more

Re: Kafka start server throws could not reserve enough space for object heap

2015-04-21 Thread Otis Gospodnetic
Short version: probably don't have enough free memory relative to what you have in -Xmx. top, free -m, and other monitoring tools and utilities will share more light on this. Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support *

Re: Consumer Group Lag Reporting

2015-04-06 Thread Otis Gospodnetic
Hi, We track our Consumer Lag and all other Kafka metrics with SPM http://sematext.com/spm whose agent collects this info from Kafka Consumers. Here's a chart of that: https://apps.sematext.com/spm-reports/s/mcBHvsXwgj -- this public chart doesn't show all filtering option, but you can filter

Re: Alternative to camus

2015-03-13 Thread Otis Gospodnetic
Just curious - why - is Camus not suitable/working? Thanks, Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Fri, Mar 13, 2015 at 2:33 PM, Alberto Miorin amiorin78+ka...@gmail.com wrote: I was wondering if

Re: Kafka Mailing List for General Questions

2015-03-09 Thread Otis Gospodnetic
Looks like you subscribed. Just start a new thread and ask away. Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Mon, Mar 9, 2015 at 4:27 PM, Mark Flores mark.flo...@expeditors.com wrote: Hi, I would

Re: Possible to count for unclosed resources in process

2015-03-06 Thread Otis Gospodnetic
Hi, I think you can look at open file descriptors (network connections use FDs). For example: https://apps.sematext.com/spm-reports/s/IoQDvdT0Ig -- all good https://apps.sematext.com/spm-reports/s/v5Hvwta7PP -- Otis restarting 2 consumers lsof probably shows it, too. Otis -- Monitoring *

Re: Increasing the throughput of Kafka Publisher

2015-03-05 Thread Otis Gospodnetic
Roger, Consider using rsyslog with omkafka. rsyslog rocks! And it's pretty popular, too - http://blog.sematext.com/2014/10/06/top-5-most-popular-log-shippers/ Oh, and it's FAST - some numbers and charts with an older version from 1 year ago:

Re: Kafka Poll: Version You Use?

2015-03-04 Thread Otis Gospodnetic
Log Management Solr Elasticsearch Support * http://sematext.com/ On Thu, Feb 26, 2015 at 3:32 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, With 0.8.2 out I thought it might be useful for everyone to see which version(s) of Kafka people are using. Here's a quick poll: http

Re: Kafka Poll: Version You Use?

2015-03-04 Thread Otis Gospodnetic
? Christian On Wed, Mar 4, 2015 at 8:08 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hello hello, Results of the poll are here! Any guesses before looking? What % of Kafka users are on 0.8.2.x already? What % of people are still on 0.7.x? http://blog.sematext.com

Re: Best way to show lag?

2015-03-04 Thread Otis Gospodnetic
Hi, On Sat, Feb 28, 2015 at 9:16 AM, Gene Robichaux gene.robich...@match.com wrote: What is the best way to detect consumer lag? We are running each consumer as a separate group and I am running the ConsumerOffsetChecker to assess the partitions and the lag for each group/consumer. I run

Re: If you run Kafka in AWS or Docker, how do you persist data?

2015-03-04 Thread Otis Gospodnetic
Hi, On Fri, Feb 27, 2015 at 1:36 AM, James Cheng jch...@tivo.com wrote: Hi, I know that Netflix might be talking about Kafka on AWS at the March meetup, but I wanted to bring up the topic anyway. I'm sure that some people are running Kafka in AWS. I'd say most, not some :) Is anyone

Re: Kafka metrics: high level vs simple consumer

2015-02-27 Thread Otis Gospodnetic
Bok Stevo, Simple as well, if I'm not mistaken. Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Fri, Feb 27, 2015 at 2:35 AM, Stevo Slavić ssla...@gmail.com wrote: Hello Apache Kafka community, In Kafka

Kafka Poll: Version You Use?

2015-02-26 Thread Otis Gospodnetic
Hi, With 0.8.2 out I thought it might be useful for everyone to see which version(s) of Kafka people are using. Here's a quick poll: http://blog.sematext.com/2015/02/23/kafka-poll-version-you-use/ We'll publish the results next week. Thanks, Otis -- Monitoring * Alerting * Anomaly Detection *

Re: How to measure performance metrics

2015-02-25 Thread Otis Gospodnetic
Have a look at http://blog.sematext.com/2015/02/10/kafka-0-8-2-monitoring/ There are also various open-source projects. Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Wed, Feb 25, 2015 at 12:40 AM, Bhuvana

Re: Broker w/ high memory due to index file sizes

2015-02-23 Thread Otis Gospodnetic
Hi, I'd start small and grow if needed in general. There is one bit of info missing here. Did you try with a smaller heap and had issues? If so, which issues? A few references from our internal Wiki: - XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -XX:+PrintTenuringDistribution

Re: Kafka on Mesos?

2015-02-21 Thread Otis Gospodnetic
Hi Jeff, I see a patchless JIRA issue via http://search-hadoop.com/?q=%2Bmesos+%2Bkafka And if Kafka on YARN is of interest, there is KOYA: http://search-hadoop.com/?q=koya Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support *

ANNOUNCE: Kafka 0.8.2 Monitoring in SPM

2015-02-11 Thread Otis Gospodnetic
Hi, I'm super happy to announce we've added Kafka 0.8.2 monitoring support to SPM. It looks like we capture over 100 Kafka metrics (yes, including that Consumer Lag everyone always wants to see!). Details + charts in: http://blog.sematext.com/2015/02/10/kafka-0-8-2-monitoring/ Thanks to the

Re: Ship Kafka in on prem product

2015-02-11 Thread Otis Gospodnetic
Hi, For what it's worth, we include Kafka (now 0.8.2) in our On Premises version of SPM and Logsene. Kafka is used to to transport metrics and logs there. I do seem to recall some not-so-elegant stuff we had to do around packaging, though. I think because

Re: Ship Kafka in on prem product

2015-02-11 Thread Otis Gospodnetic
includes RPM and dev packages http://repository.stratio.com/sds/1.1/ubuntu/13.10/binary/ http://repository.stratio.com/sds/1.1/RHEL/ Regards. 2015-02-11 19:22 GMT+01:00 Otis Gospodnetic otis.gospodne...@gmail.com : Hi, For what it's worth, we include Kafka (now

Re: kafka out-of-box monitoring system

2015-02-05 Thread Otis Gospodnetic
Hi, Not sure if you are asking if anyone has bundled all these together or if you are asking for an alternative. If the latter, see SPM for Kafka http://sematext.com/spm/ (works with 0.8.2 metrics) (or some other more complete monitoring tool) which will give you everything but 5. (but 5. is in

Re: [ANNOUNCEMENT] Apache Kafka 0.8.2.0 Released

2015-02-05 Thread Otis Gospodnetic
Big thanks to Jun and everyone else involved! We're on 0.8.2 as of today. :) Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Tue, Feb 3, 2015 at 8:37 PM, Jun Rao j...@confluent.io wrote: The Apache Kafka

Re: Not found NewShinyProducer sync performance metrics

2015-02-05 Thread Otis Gospodnetic
Not announced yet, but http://sematext.com/spm should be showing you all the new shiny Kafka (new producer) metrics out of the box. If you don't see them, please shout (I know we have a bit more tweaking to do in the coming day-two-three). If you want to just dump MBeans from JMX manually and

Re: Logstash to Kafka

2015-02-05 Thread Otis Gospodnetic
Hi, In short, I don't see Kafka having problems with those numbers. Logstash will have a harder time, I believe. That said, it all depends on how you tune things an what kind of / how much hardware you use. 2B or 200B events, yes, big numbers, but how quickly do you need to process those? in 1

Re: New Producer - ONLY sync mode?

2015-02-02 Thread Otis Gospodnetic
of good reasons to do so, though. Gwen On Mon, Feb 2, 2015 at 11:08 AM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, Is the plan for New Producer to have ONLY async mode? I'm asking because of this info from the Wiki: - The producer will always attempt

Re: New Producer - ONLY sync mode?

2015-02-02 Thread Otis Gospodnetic
that will handle the notification to X? In this case, perhaps Y can be async and X can buffer the data until the callback triggers and says all good (or resend if the callback indicates an error) On Mon, Feb 2, 2015 at 12:56 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, Thanks

New Producer - ONLY sync mode?

2015-02-02 Thread Otis Gospodnetic
Hi, Is the plan for New Producer to have ONLY async mode? I'm asking because of this info from the Wiki: - The producer will always attempt to batch data and will always immediately return a SendResponse which acts as a Future to allow the client to await the completion of the

Re: Any Java 7 compatibility issues for 0.8.1.1?

2015-02-02 Thread Otis Gospodnetic
I don't think there are any issues. We use 0.8.1.1 under Oracle Java 7. Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Mon, Feb 2, 2015 at 5:02 AM, Yury Ruchin yuri.ruc...@gmail.com wrote: Hello, I wonder

Re: Poll: Producer/Consumer impl/language you use?

2015-01-28 Thread Otis Gospodnetic
) On Tue, Jan 20, 2015 at 2:52 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, I was wondering which implementations/languages people use for their Kafka Producer/Consumers not everyone is using the Java APIs. So here's a 1-question poll: http://blog.sematext.com

Re: Poll: Producer/Consumer impl/language you use?

2015-01-28 Thread Otis Gospodnetic
of ecosystems on Spark (for which scala is the primary language). 2015-01-28 8:51 GMT-08:00 Otis Gospodnetic otis.gospodne...@gmail.com : Hi, I don't have a good excuse here. :( I thought about including Scala, but for some reason didn't do it. I see 12-13% of people

Poll RESULTS: Producer/Consumer languages

2015-01-28 Thread Otis Gospodnetic
Hi, I promised to share the results of this poll, and here they are: http://blog.sematext.com/2015/01/28/kafka-poll-results-producer-consumer/ List of surprises is there. I wonder if anyone else is surprised by any aspect of the breakdown, or is the breakdown just as you expected? Otis --

Re: [VOTE] 0.8.2.0 Candidate 2 (with the correct links)

2015-01-26 Thread Otis Gospodnetic
Hi, Don't use Graphite, so I don't know. Kyle, maybe you can share more info? What do you mean by reported to Yammer for example? And when you say Yammer/Graphite, are you trying to say that you are using the Graphite Reporter? If so, can you try other Yammer Reporters and see if there is a

Re: Backups

2015-01-20 Thread Otis Gospodnetic
Could one use ZFS or BTRFS snapshot functionality for this? Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Tue, Jan 20, 2015 at 1:39 AM, Gwen Shapira gshap...@cloudera.com wrote: Hi, As a former DBA, I

KOYA vs. Samza?

2015-01-16 Thread Otis Gospodnetic
Hi, I was wondering if anyone can compare and contrast KOYA and Samza? Thanks, Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/

Re: KOYA vs. Samza?

2015-01-16 Thread Otis Gospodnetic
management (if you're counting messages, you want to make sure your count is accurate even if you fail), etc. Cheers, Chris On 1/16/15 12:14 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, I was wondering if anyone can compare and contrast KOYA and Samza? Thanks, Otis

Re: new to kafka

2015-01-12 Thread Otis Gospodnetic
Hi, Check http://search-hadoop.com/?q=benchmarkfc_project=Kafka for info about Kafka benchmarking. Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Sun, Jan 11, 2015 at 8:03 PM, Alpesh Desai desa...@gmail.com

Re: Kafka Cluster Monitoring and Documentation of Internals (JMX Metrics) of Rejected Events

2015-01-12 Thread Otis Gospodnetic
Hi, I think you could just email user@? There was no attached image. I think Jun committed something about this: https://issues.apache.org/jira/browse/KAFKA-1481?focusedCommentId=14272057page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14272057 Otis -- Monitoring *

Re: no space left error

2015-01-06 Thread Otis Gospodnetic
Hi, Your disk is full. You should probably have something that checks/monitors disk space and alerts you when it's full. Maybe you can point Kafka to a different, larger disk or partition. Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch

Re: Release Date for Kafka 0.8.2

2015-01-05 Thread Otis Gospodnetic
Hi Srividhya, See http://search-hadoop.com/m/4TaT4B9tys1/subj=Re+Kafka+0+8+2+release+before+Santa+Claus Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Mon, Jan 5, 2015 at 11:55 AM, Srividhya Shanmugam

Re: Latency Tracking Across All Kafka Component

2015-01-05 Thread Otis Gospodnetic
Hi, That sounds a bit like needing a full, cross-app, cross-network transaction/call tracing, and not something specific or limited to Kafka, doesn't it? Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Mon,

Re: Kafka 0.8.2 release - before Santa Claus?

2014-12-23 Thread Otis Gospodnetic
%20priority%20%3D%20Blocker%20AND%20fixVersion%20%3D%200.8.2 So, we likely will have another 0.8.2 release in Dec. However, I am not sure if that's beta2 or final. Thanks, Jun On Wed, Nov 26, 2014 at 12:22 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi

Re: kafka-producer-perf-test.sh

2014-12-22 Thread Otis Gospodnetic
If that kafka-producer-per-test.sh doesn't work for you and you choose the DIY approach, https://github.com/sematext/ActionGenerator may be of help. Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Mon, Dec 22,

Re: kafka monitoring system

2014-12-22 Thread Otis Gospodnetic
Hi Sa Li, Have a look at SPM for monitoring Kafka: http://sematext.com/spm http://blog.sematext.com/2013/10/16/announcement-spm-performance-monitoring-for-kafka/ https://sematext.atlassian.net/wiki/display/PUBSPM/SPM+FAQ#SPMFAQ-KafkaMonitoring Otis -- Monitoring * Alerting * Anomaly Detection *

Re: How to raise a question in forum

2014-12-10 Thread Otis Gospodnetic
? Shouldn't be. Not sure what the meaning of that would be? You see a negative value somewhere? Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Tue, Dec 9, 2014 at 5:23 PM, Otis Gospodnetic otis.gospodne

Re: How to raise a question in forum

2014-12-09 Thread Otis Gospodnetic
Nitin, If you don't want to DIY there are already tools and solutions for monitoring Kafka, including consumer lag. Ours is mentioned here: http://blog.sematext.com/2013/10/16/announcement-spm-performance-monitoring-for-kafka/ Others have been mentioned on the list a few times before:

Re: Re: How to push metrics to graphite - jmxtrans does not work

2014-12-02 Thread Otis Gospodnetic
Hi, You can make use of this documentation aimed at JMX and monitoring: https://sematext.atlassian.net/wiki/display/PUBSPM/SPM+Monitor+-+Standalone There is a section about Kafka and the information is not SPM-specific. Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log

Re: maximum number of open file handles

2014-11-27 Thread Otis Gospodnetic
This is not an absolute rule/number. It depends on your Kafka usage and your existing limits. SPM http://sematext.com/spm/ will show you the number of open files Kafka is using, as will a tool like 'lsof'. Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr

Kafka 0.8.2 release - before Santa Claus?

2014-11-26 Thread Otis Gospodnetic
Hi, People using SPM to monitor Kafka have been anxiously asking us about the 0.8.2 release and we've been telling them December. Is that still the plan? Thanks, Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/

Re: Aeron, a high throughput, low latency messaging system

2014-11-19 Thread Otis Gospodnetic
Here's a good writeup that also mentions Kafka: http://highscalability.com/blog/2014/11/17/aeron-do-we-really-need-another-messaging-system.html Comparing it to Kafka is an apples to oranges comparison from what I can tell. Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log

Re: Getting Simple consumer details using MBean

2014-11-16 Thread Otis Gospodnetic
Hi Madhukar, Maybe you want to look at SPM http://sematext.com/spm/, which has Kafka monitoring. But please note this: https://sematext.atlassian.net/wiki/display/PUBSPM/SPM+FAQ#SPMFAQ-WhyamInotseeingallKafkametricsifI'mrunninga0.8.xversionofKafkathatispre-0.8.2? Otis -- Monitoring * Alerting *

Re: Programmatic Kafka version detection/extraction?

2014-11-12 Thread Otis Gospodnetic
, gradle.properties. Not sure how we can automatically extract it and expose it in an mbean. How do other projects do this? Thanks, Jun On Tue, Nov 11, 2014 at 7:05 AM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi Jun, Sounds good. But is the version

Re: Programmatic Kafka version detection/extraction?

2014-11-11 Thread Otis Gospodnetic
wrote: Otis, We don't have an api for that now. We can probably expose this as a JMX as part of kafka-1481. Thanks, Jun On Mon, Nov 10, 2014 at 7:17 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, Is there a way to detect which version of Kafka one is running

Programmatic Kafka version detection/extraction?

2014-11-10 Thread Otis Gospodnetic
Hi, Is there a way to detect which version of Kafka one is running? Is there an API for that, or a constant with this value, or maybe an MBean or some other way to get to this info? Thanks, Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support

Dynamically adding Kafka brokers

2014-11-03 Thread Otis Gospodnetic
Hi, How do people handle situations, and specifically the broker.id property, where the Kafka (broker) cluster is not fully defined right away? Here's the use case we have at Sematext: * Our software ships as a VM * All components run in this single VM, including 1 Kafka broker * Of course, this

0.8.x = 0.8.2 upgrade - live seamless?

2014-10-15 Thread Otis Gospodnetic
Hi, Some of our SPM users who are eager to monitor their Kafka 0.8.x clusters with SPM are asking us whether the upgrade to 0.8.2 from 0.8.1 will be seamless. I believe this will be the case, but wanted to double-check on that... Thanks, Otis -- Monitoring * Alerting * Anomaly Detection *

Re: MBeans, dashes, underscores, and KAFKA-1481

2014-10-08 Thread Otis Gospodnetic
can help provide a patch in a few days, we can probably get it to the 0.8.2 release. Thanks, Jun On Tue, Oct 7, 2014 at 12:10 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi Jun, I think your MBean renaming approach will work. I see https://issues.apache.org/jira/browse

Faster segment recovery after reboot - 0.8.1

2014-09-26 Thread Otis Gospodnetic
Hi, Just got a lovely email a bunch of our EC2 instances will be rebooted in a few days. Some of them run our Kafka 0.8.1 brokers with a few hundred GBs of data in them. Last time Kafka brokers didn't shut down cleanly it took them mny hours to recover. I just found

Re: Disactivating Yammer Metrics Monitoring

2014-09-19 Thread Otis Gospodnetic
Hi, I don't have any source or configs handy to check things, but you are saying you've configured Kafka to use GraphiteReporter, right? So why not remove that config, so metrics stop being sent to Graphite if your Graphite setup is suffering? If you do that and you still want to see your Kafka

Re: MBeans, dashes, underscores, and KAFKA-1481

2014-09-17 Thread Otis Gospodnetic
about client id as well ? Thanks, Bhavesh On Tue, Sep 16, 2014 at 2:09 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, So maybe I should I should have asked the Q explicitly: Could we commit the patch from https://issues.apache.org/jira/browse/KAFKA-1481

Re: MBeans, dashes, underscores, and KAFKA-1481

2014-09-16 Thread Otis Gospodnetic
Management Solr Elasticsearch Support * http://sematext.com/ On Mon, Sep 15, 2014 at 10:40 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, *Problem:* Some Kafka 0.8.x MBeans have names composed of things like consumer group-topic-metric name. Note how dashes are used

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

2014-09-15 Thread Otis Gospodnetic
Hi Bhavesh, Yes, if you look at https://issues.apache.org/jira/browse/KAFKA-1481 it describes this sort of a problem with various delimiters used by Kafka. As Jun suggested, I'll start a new thread and try to clearly explain the problem. Otis -- Monitoring * Alerting * Anomaly Detection *

MBeans, dashes, underscores, and KAFKA-1481

2014-09-15 Thread Otis Gospodnetic
Hi, *Problem:* Some Kafka 0.8.x MBeans have names composed of things like consumer group-topic-metric name. Note how dashes are used as delimiters. When consumer group and topic don't contain the delimiter character all is good if you want to extract parts of this MBean name by simply splitting

Re: GenericJMX plugin file for Kafka 0.8.1

2014-09-11 Thread Otis Gospodnetic
Hi, There's also SPM http://sematext.com/spm/ which makes use of Kafka JMX and does graphing, alerting, and anomaly detection on, I believe, all Kafka metrics for 0.7.x and 0.8.x. You can see a couple Kafka clusters at https://apps.sematext.com/demo . Otis -- Monitoring * Alerting * Anomaly

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

2014-09-09 Thread Otis Gospodnetic
Hi, I have topic name with “.” So, it is hard to distinguish metric name and topic If your topics or hosts have dashes or underscores or your topic has dots you will have trouble extracting things from JMX. We provided a patch to change delimiter character in MBeans and are hoping it gets

Re: Is there a way to stop/pause producers from writing?

2014-08-11 Thread Otis Gospodnetic
Hi, Wouldn't you want to tell your app to stop producing messages then? Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ On Tue, Aug 5, 2014 at 7:45 PM, Stephen Chan sc...@visiblemeasures.com wrote: Is there a tool or way

Re: Support for Java 1.8?

2014-08-11 Thread Otis Gospodnetic
Just curious if you saw any issues with Java 1.8 or if everything went smoothly? Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ On Tue, Jun 17, 2014 at 3:28 PM, Todd Palino tpal...@linkedin.com.invalid wrote: We¹re about

Re: Monitoring Producers at Large Scale

2014-07-07 Thread Otis Gospodnetic
Hi, I'm late to the thread... but that ...we intercept log4j... caught my attention. Why intercept, especially if it's causing trouble? Could you use log4j syslog appender and get logs routed to wherever you want them via syslog, for example? Or you can have syslog tail log4j log files (e.g.

Re: How to parse some of JMX Bean's names.

2014-06-20 Thread Otis Gospodnetic
. We would be happy to take a patch from you. How about we look at the size of the proposed changes and discuss a release timeline on the JIRA? Thanks, Neha On Wed, Jun 4, 2014 at 3:09 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi Guozhang, Since the new consumer is 2

Re: How to parse some of JMX Bean's names.

2014-06-04 Thread Otis Gospodnetic
? Or I didn't understand something? Yeah I agree this is a problem, and we should fix it in the new consumer. Best regards from Sematext. On Tue, Jun 3, 2014 at 3:24 AM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi Guozhang

Re: How to parse some of JMX Bean's names.

2014-06-02 Thread Otis Gospodnetic
Hi Guozhang, On Mon, Jun 2, 2014 at 7:18 PM, Guozhang Wang wangg...@gmail.com wrote: That is indeed a problem, for now, we recommend group name and topic names to use _ when there is a need for -, but this should be fixed systematically. Right! For you use case, could you change your

kafka-reassign-partitions.sh leaves data on source broker?

2014-05-31 Thread Otis Gospodnetic
Hi, I have 2 pretty unbalanced brokers running 0.8.1.1 and I'm trying to balance them (read: free disk space on the overloaded broker). Is there a tool that will just rebalance everything? I couldn't find one, so I ran this: $ sh kafka-reassign-partitions.sh --broker-list 1 --zookeeper

Re: Topic Reassignment Tool Improvements

2014-05-31 Thread Otis Gospodnetic
+1 for sticking this on the Wiki or in JIRA without your internal stuff and letting those who need it (like us) clean up for inclusion. We've got a need for this, too. :) Thanks, Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/

Re: kafka-reassign-partitions.sh leaves data on source broker?

2014-05-31 Thread Otis Gospodnetic
at 7:05 PM, Guozhang Wang wangg...@gmail.com wrote: Hello Otis, What is your replication factor? Guozhang On Sat, May 31, 2014 at 12:39 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, I have 2 pretty unbalanced brokers running 0.8.1.1 and I'm trying to balance them

Re: kafka-reassign-partitions.sh leaves data on source broker?

2014-05-31 Thread Otis Gospodnetic
on broker 2's request logs? Guozhang On Sat, May 31, 2014 at 5:15 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi Guozhang, I don't have any replication-related properties in my config file and I don't see any mentions of replication at startup in the log, so I don't really

Re: stream logs from remote servers.

2014-05-23 Thread Otis Gospodnetic
Hi, Try: https://github.com/joekiller/logstash-kafka https://github.com/rngadam/sendkafka https://issues.apache.org/jira/browse/FLUME-2242 https://github.com/baniuyao/flume-kafka Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/

Re: JAVA HEAP settings for KAFKA in production

2014-05-02 Thread Otis Gospodnetic
Hi, We have 2 small EC2 instances acting as Receivers for SPMhttp://sematext.com/spm/. Each of them runs Apache, Jetty, and a Kafka broker with the following params: java -Xmx512M -server -Dlog4j.configuration=file:/usr/lib/kafka/bin/../config/log4j.properties -cp

Re: Kafka/Zookeeper co-location

2014-04-30 Thread Otis Gospodnetic
Hi, We have Kafka + ZK co-located on EC2 instances. Check this thread from a few weeks ago: http://search-hadoop.com/m/4TaT4Sb6Jg2 Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ On Thu, Apr 24, 2014 at 11:53 AM, Andrew

Re: Kafka integration...

2014-04-14 Thread Otis Gospodnetic
In our case it's straight Java. Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ On Fri, Apr 11, 2014 at 8:58 PM, Michael Campbell michael.campb...@gmail.com wrote: Are most of you using straight Java or Scala APIs to talk

Re: Java API to monitor Consumer Offset and Lag

2014-03-30 Thread Otis Gospodnetic
Support * http://sematext.com/ On Sat, Mar 29, 2014 at 1:00 AM, Steve Morin st...@stevemorin.com wrote: Otis, What's SPM that your referencing? -Steve On Fri, Mar 28, 2014 at 4:45 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi Harsh, Are you trying to monitor lag

Re: Java API to monitor Consumer Offset and Lag

2014-03-28 Thread Otis Gospodnetic
Hi Harsh, Are you trying to monitor lag? SPM for Kafka has this in one of the graphs. We get this data from JMX. There are other tools that were mentioned here a couple of weeks agosorry, can't recall their names now, check http://search-hadoop.com/kafka , that get this info from ZK and

Re: Hardware planning

2014-03-19 Thread Otis Gospodnetic
Ray, We are, for SPM http://sematext.com/spm. On c1.medium instances, I believe, we have: * Jetty receiving tens of thousands of metrics per second (in batches, so the rate of HTTP requests is lower than that number_ * Kafka brokers * ZK instances So far we have not had issues with this. Knock

Re: 0.8.1 stability

2014-03-18 Thread Otis Gospodnetic
Hi, We are in the process of migrating to 0.8.1, so we haven't seen any bugs yet, but would welcome a bugfix release if others are reporting issues. Versioning Q: wouldn't that be 0.8.2? Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support *

Re: [ANNOUNCEMENT] Apache Kafka 0.8.1 Released

2014-03-12 Thread Otis Gospodnetic
Yes: https://cwiki.apache.org/confluence/display/KAFKA/Migrating+from+0.7+to+0.8 Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ On Wed, Mar 12, 2014 at 6:01 PM, Kane Kane kane.ist...@gmail.com wrote: Is it possible to

Re: Large number of sockets to JMX port in CLOSE_WAIT on 0.7.2 broker

2014-03-12 Thread Otis Gospodnetic
I don't think this is a Kafka problem. We read from Kafka JMX every few seconds with SPM and don't see this problem with 0.7.2. Maybe a Jolokia bug? Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ On Wed, Mar 12, 2014 at

Re: memory requirement for kafka - how to estimate

2014-03-11 Thread Otis Gospodnetic
Hi, I'm not sure if anyone can give you exact numbers, but I think you'll find Kafka brokers very light. We run them on I think medium EC2 instances and Kafka brokers they put hardly any strain on them. If it helps give you an idea, go to https://apps.sematext.com/demo and look for

Re: Anouncing Kafka Offset Monitor 0.1

2014-03-10 Thread Otis Gospodnetic
to change anything else in the code. P On Sat, Mar 8, 2014 at 2:48 AM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, Does this work with Kafka 0.7.x or does Kafka 0.7.x not expose the info needed for computing the lag? Thanks, Otis -- Performance Monitoring * Log

Re: Anouncing Kafka Offset Monitor 0.1

2014-03-07 Thread Otis Gospodnetic
Hi, Does this work with Kafka 0.7.x or does Kafka 0.7.x not expose the info needed for computing the lag? Thanks, Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ On Fri, Mar 7, 2014 at 1:49 PM, Pierre Andrews

0.8.1 ETA?

2014-01-31 Thread Otis Gospodnetic
Hi, I hate asking the When question, but I was under the impression 0.8.1 was around the corner so I looked at JIRA and found 90 opened issues labeled as 0.8.1.

C++ Producer = Broker = Java Consumer?

2014-01-31 Thread Otis Gospodnetic
Hi, If Kafka Producer is using a C++ Kafka lib to produce messages, how can Kafka Consumers written in Java deserialize them? Thanks, Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/

Re: C++ Producer = Broker = Java Consumer?

2014-01-31 Thread Otis Gospodnetic
: Is this a Kafka C++ lib you wrote yourself, or some open-source library? What version of Kafka? Philip On Fri, Jan 31, 2014 at 1:30 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, If Kafka Producer is using a C++ Kafka lib to produce messages

Re: Calcuate Consumer lag from JMX beans in Kafka 0.7.2

2014-01-27 Thread Otis Gospodnetic
Hi Xuyen, SPM for Kafka gets all this stuff already. I didn't look into whether/how exactly one can spot consumer lag, but if you spot a way to do it, please share. There is a demo of SPM for Kafka if you go to https://apps.sematext.com/demoso you can see all Kafka performance graphs and see if

Re: Kafka Authenication and Monitoring Tools

2014-01-14 Thread Otis Gospodnetic
Hi Joseph, For the monitoring piece there is SPM - see http://blog.sematext.com/2013/10/16/announcement-spm-performance-monitoring-for-kafka/. It will monitor your ZooKeeper, too. Kafka uses ZK, so you may want to keep an eye on it as well. Otis -- Performance Monitoring * Log Analytics *

Re: count of bytes stored in kafka

2013-12-27 Thread Otis Gospodnetic
Hi, Not a direct way to see this, but we use Kafka 0.7.2 and monitor the disk space on it, so that's one way to see *roughly* what is happening. If you use something like SPM to monitor your Kafka nodes (see http://blog.sematext.com/2013/10/16/announcement-spm-performance-monitoring-for-kafka/)

  1   2   >