rongshen commented on code in PR #3910:
URL: https://github.com/apache/gobblin/pull/3910#discussion_r1550192483


##########
gobblin-core-base/src/main/java/org/apache/gobblin/source/extractor/extract/FlushingExtractor.java:
##########
@@ -129,6 +134,21 @@ public FlushingExtractor(WorkUnitState state) {
     initFlushPublisher();
     MetricContextUtils.registerGauge(this.getMetricContext(), 
WATERMARK_COMMIT_TIME_METRIC, this.watermarkCommitTime);
     initCommitStepMetrics(this.preCommitSteps, this.postCommitSteps);
+
+    if (state.getPropAsBoolean(WRITER_OUTPUT_DIR_UPDATE_ENABLED, false)) {

Review Comment:
   change the if condition to the suggested way on throwing exceptions



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to