You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by GitBox <gi...@apache.org> on 2019/03/22 17:06:11 UTC
[GitHub] [incubator-gobblin] ZihanLi58 commented on a change in pull request
#2576: [GOBBLIN-706]enable dynamic mappers
ZihanLi58 commented on a change in pull request #2576: [GOBBLIN-706]enable dynamic mappers
URL: https://github.com/apache/incubator-gobblin/pull/2576#discussion_r268260228
##########
File path: gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/source/extractor/extract/kafka/workunit/packer/KafkaWorkUnitPacker.java
##########
@@ -362,6 +362,15 @@ public static KafkaWorkUnitPacker getInstance(PackerType packerType, AbstractSou
throw new IllegalArgumentException("WorkUnit packer type " + packerType + " not found");
}
}
+ public double getWorkUnitEstSizes(Map<String, List<WorkUnit>> workUnitsByTopic){
Review comment:
The method setWorkUnitEsiSizes is a protected method. So I just create a public method, and this new method just calculating the size instead of setting the property of workUnits
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services