sborya commented on a change in pull request #938: SAMZA-1531: Support run.id in standalone for batch processing. URL: https://github.com/apache/samza/pull/938#discussion_r264467907
########## File path: samza-core/src/main/java/org/apache/samza/execution/LocalJobPlanner.java ########## @@ -119,7 +119,12 @@ private void createStreams(String planId, List<StreamSpec> intStreams, StreamMan return; } - DistributedLockWithState lockWithState = coordinationUtils.getLockWithState(planId); + Boolean isAppModeBatch = new ApplicationConfig(userConfig).getAppMode() == ApplicationConfig.ApplicationMode.BATCH; + String lockId = planId; + if(isAppModeBatch && runId != null) { Review comment: add comment ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services