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/11/11 03:10:13 UTC

[GitHub] [incubator-gobblin] vikrambohra commented on a change in pull request #2803: [GOBBLIN-954] Added support to swap different HiveRegistrationPublishers

vikrambohra commented on a change in pull request #2803: [GOBBLIN-954] Added support to swap different HiveRegistrationPublishers
URL: https://github.com/apache/incubator-gobblin/pull/2803#discussion_r344543987
 
 

 ##########
 File path: gobblin-core/src/main/java/org/apache/gobblin/publisher/BaseDataPublisher.java
 ##########
 @@ -290,6 +290,7 @@ public void close()
       for (Path path : this.publisherOutputDirs) {
         this.state.appendToSetProp(ConfigurationKeys.PUBLISHER_DIRS, path.toString());
       }
+      this.state.setProp(ConfigurationKeys.PUBLISHER_LATEST_FILE_ARRIVAL_TIMESTAMP, System.currentTimeMillis());
 
 Review comment:
   Requirement changed to add a flag called update_operation=new_files_added. should that be added here or in gobblin-kafka?

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