You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by GitBox <gi...@apache.org> on 2020/01/28 00:54:53 UTC

[GitHub] [samza] cameronlee314 commented on a change in pull request #1255: SAMZA-2429: Update LocalApplicatoinRunner to load full job config from config loader when present.

cameronlee314 commented on a change in pull request #1255: SAMZA-2429: Update LocalApplicatoinRunner to load full job config from config loader when present.
URL: https://github.com/apache/samza/pull/1255#discussion_r371562304
 
 

 ##########
 File path: samza-core/src/main/java/org/apache/samza/runtime/LocalApplicationRunner.java
 ##########
 @@ -111,27 +112,35 @@ public LocalApplicationRunner(SamzaApplication app, Config config) {
    * @param metadataStoreFactory the instance of {@link MetadataStoreFactory} to read and write to coordinator stream.
    */
   public LocalApplicationRunner(SamzaApplication app, Config config, MetadataStoreFactory metadataStoreFactory) {
-    this(ApplicationDescriptorUtil.getAppDescriptor(app, config), getCoordinationUtils(config), metadataStoreFactory);
+    this(app, config, getCoordinationUtils(config), metadataStoreFactory);
 
 Review comment:
   In the old flow, `getCoordinationUtils` seemed to be called with the full config. In the new flow, `getCoordinationUtils` will get called with the initial config, not the full config. Do you need to load the config before calling `getCoordinationUtils`?

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