cameronlee314 opened a new pull request #1548:
URL: https://github.com/apache/samza/pull/1548


   Feature: For `StaticResourceJobCoordinator`, trigger job restart when input 
stream partition count changes or input stream regex set changes.
   
   Changes:
   1. Add pluggable `JobRestartSignal` interface for triggering a job restart.
   2. Add `StreamPartitionCountMonitor` and `StreamRegexMonitor` to 
`StaticResourceJobCoordinator` for triggering a `JobRestartSignal` when input 
stream partition count changes or input stream regex set changes.
   
   Tests:
   Added some code into `StreamPartitionCountMonitor` which triggered the 
callback after 5 minutes and verified that the placeholder 
`NoOpJobRestartSignal` was called.
   
   API changes (all backwards compatible):
   Configure `job.coordinator.restart.signal.factory` to specify an 
implementation of `JobRestartSignalFactory` to use.


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