New API for multithreading engine
New API for Samza engine