[ 
https://issues.apache.org/jira/browse/GOBBLIN-955?focusedWorklogId=341377&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-341377
 ]

ASF GitHub Bot logged work on GOBBLIN-955:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Nov/19 16:48
            Start Date: 11/Nov/19 16:48
    Worklog Time Spent: 10m 
      Work Description: htran1 commented on pull request #2804: GOBBLIN-955: 
Expose a method to get average record size in KafkaExtra…
URL: https://github.com/apache/incubator-gobblin/pull/2804#discussion_r344804554
 
 

 ##########
 File path: 
gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/source/extractor/extract/kafka/KafkaExtractorStatsTracker.java
 ##########
 @@ -43,6 +44,9 @@
   public static final String TOPIC = "topic";
   public static final String PARTITION = "partition";
 
+  //Small values of exponential decay factor implies that recent values are 
weighted less heavily.
+  private static final Double EXPONENTIAL_DECAY_FACTOR = 0.125;
 
 Review comment:
   These are not used.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 341377)
    Time Spent: 0.5h  (was: 20m)

> Expose a method to get average record size in KafkaExtractorStatsTracker
> ------------------------------------------------------------------------
>
>                 Key: GOBBLIN-955
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-955
>             Project: Apache Gobblin
>          Issue Type: Improvement
>          Components: gobblin-kafka
>    Affects Versions: 0.15.0
>            Reporter: Sudarshan Vasudevan
>            Assignee: Shirshanka Das
>            Priority: Major
>             Fix For: 0.15.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The method returns the average record size based on the accumulated stats.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to