kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otis Gospodnetic (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-826) Make Kafka 0.8 depend on metrics 2.2.0 instead of 3.x
Date Tue, 02 Apr 2013 03:23:16 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619475#comment-13619475
] 

Otis Gospodnetic commented on KAFKA-826:
----------------------------------------

Ah, what timing!  Metrics 3.0.0 BETA1 has just been pushed to Maven Central with goodies:
Coda Hale <coda.hale@gmail.com> Apr 01 02:02PM -0700  

Metrics 3.0.0-BETA1 is on its way to Maven Central! It includes the following changes:
 
• Total overhaul of most of the core Metrics classes:
• Metric names are now just dotted paths like com.example.Thing, allowing for very flexible
scopes, etc.
• Meters and timers no longer have rate or duration units; those are properties of reporters.
• Reporter architecture has been radically simplified, fixing many bugs.
• Histograms and timers can take arbitrary reservoir implementations.
• Added sliding window reservoir implementations.
• Added MetricSet for sets of metrics.
• Changed package names to be OSGi-compatible and added OSGi bundling.
• Extracted JVM instrumentation to metrics-jvm.
• Extracted Jackson integration to metrics-json.
• Removed metrics-guice, metrics-scala, and metrics-spring.
• Renamed metrics-servlet to metrics-servlets.
• Renamed metrics-web to metrics-servlet.
• Renamed metrics-jetty to metrics-jetty8.
• Many more small changes!

Wouldn't it make sense to invest the effort into moving to 3.0.0 instead now?  Otherwise,
if the gap between 0.8 and post-0.8 release is as big as the gap between 0.7.2 and 0.8 it
will be a while before moving to this new metrics package.

                
> Make Kafka 0.8 depend on metrics 2.2.0 instead of 3.x
> -----------------------------------------------------
>
>                 Key: KAFKA-826
>                 URL: https://issues.apache.org/jira/browse/KAFKA-826
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8
>            Reporter: Neha Narkhede
>            Assignee: Jun Rao
>            Priority: Blocker
>              Labels: build, kafka-0.8, metrics
>         Attachments: kafka-fix-for-826.patch, kafka-fix-for-826-take2.patch
>
>
> In order to mavenize Kafka 0.8, we have to depend on metrics 2.2.0 since metrics 3.x
is a huge change as well as not an officially supported release.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message