GitHub user lhaiesp opened a pull request: https://github.com/apache/samza/pull/511
SAMZA-1706 lazy initialization for eventhub system producer We are seeing slow shutdown issue for eventhub system producers for users who only use eventhub consumer (but then Samza system creates both consumer and producer together no matter what). As a workaround, add lazy initialization to the producer to avoid the slow shutdown You can merge this pull request into a Git repository by running: $ git pull https://github.com/lhaiesp/samza master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/samza/pull/511.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #511 ---- commit 4b1faf799fbe46ff2981227205926671cd429784 Author: Hai Lu <halu@...> Date: 2018-05-08T23:17:06Z SAMZA-1706 lazy initialization for eventhub system producer ---- ---