You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/09/08 20:45:46 UTC

[jira] [Commented] (STORM-1015) Store Kafka offsets with Kafka's consumer offset management api

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

ASF GitHub Bot commented on STORM-1015:
---------------------------------------

Github user rmkellogg commented on the pull request:

    https://github.com/apache/storm/pull/705#issuecomment-138665642
  
    A few minor nits:
    
    When providing javadoc on variables/methods, be sure to use the following syntax:
     /**
      * Comment text
      **/
    private String variableName;
    
    Instead of the following:
    
    // offset state information storage. validate options are storm and kafka  
    private String variableName;
    
    The first variation will provide fly-over-help within IDE and generated Javadoc files.
    
    Secondly:
    
    Logger instance variables should be private.


> Store Kafka offsets with Kafka's consumer offset management api
> ---------------------------------------------------------------
>
>                 Key: STORM-1015
>                 URL: https://issues.apache.org/jira/browse/STORM-1015
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-kafka
>    Affects Versions: 0.11.0
>            Reporter: Hang Sun
>            Priority: Minor
>              Labels: consumer, kafka, offset
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Current Kafka spout stores the offsets (and some other states) inside ZK with its proprietary format. This does not work well with other Kafka offset monitoring tools such as Burrow, KafkaOffsetMonitor etc. In addition, the performance does not scale well compared with offsets managed by Kafka's built-in offset management api. I have added a new option for Kafka to store the same data using Kafka's built-in offset management capability. The change is completely backward compatible with the current ZK storage option. The feature can be turned on by a single configuration option. Hope this will help people who wants to explore the option of using Kafka's built-in offset management api.
> -thanks



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