mynameborat commented on a change in pull request #1327: SAMZA-2493: Keep 
checkpoint manager consumer open for repeated polling
URL: https://github.com/apache/samza/pull/1327#discussion_r403293161
 
 

 ##########
 File path: samza-core/src/main/java/org/apache/samza/config/TaskConfig.java
 ##########
 @@ -105,6 +105,7 @@
   private static final String BROADCAST_STREAM_PATTERN = "^[\\d]+$";
   private static final String BROADCAST_STREAM_RANGE_PATTERN = 
"^\\[[\\d]+\\-[\\d]+\\]$";
   public static final String CHECKPOINT_MANAGER_FACTORY = 
"task.checkpoint.factory";
+  public static final String CHECKPOINT_MANAGER_CONSUMER_STOP_AFTER_FIRST_READ 
= "task.checkpoint.consumer.stop.after.first.read";
 
 Review comment:
   I agree. For now, the config approach is minimally invasive and backward 
compatible. We can always reevaluate this if there is a stronger justification 
to have container model exposed to the checkpoint manager. 
   Since it is not a user config, we should be able to deprecate it without 
much effort.

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