sv2000 commented on a change in pull request #2900: [GOBBLIN-1040] 
HighLevelConsumer re-design by removing references to …
URL: https://github.com/apache/incubator-gobblin/pull/2900#discussion_r386168576
 
 

 ##########
 File path: 
gobblin-modules/gobblin-service-kafka/src/main/java/org/apache/gobblin/service/StreamingKafkaSpecConsumer.java
 ##########
 @@ -74,6 +75,10 @@
   private final Metrics _metrics;
 
   public StreamingKafkaSpecConsumer(Config config, MutableJobCatalog 
jobCatalog, Optional<Logger> log) {
+    this(config, jobCatalog, log, Optional.absent());
+  }
+
+  public StreamingKafkaSpecConsumer(Config config, MutableJobCatalog 
jobCatalog, Optional<Logger> log, Optional<GobblinKafkaConsumerClient> 
consumerClient) {
 
 Review comment:
   Don't understand why the consumerClient is being passed as an argument. Is 
the constructor being used in a test case?

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to