Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status

Current state: [ UNDER DISCUSSION | ACCEPTED | REJECTED ]

Discussion thread<link to mailing list DISCUSS thread>http://mail-archives.apache.org/mod_mbox/samza-dev/201807.mbox/thread

JIRA: SAMZA-TBD1789

Released: 

Problem

In the current implementation of ApplicationRunner, there are a few issues: 

...

ProcessorLifecycleListenerdefines the unified processor lifecycle aware methods to allow users to inject customized logic before/after start/stop the StreamProcessor(s) in an application 




Code Block
public interface ProcessorLifecycleListener { 
  default void beforeStart() {} 
  default void afterStart() {} 
  default void beforeStop() {} 
  default void afterStop() {} 
}




BSamza framework implemented runtime objects 

...