This is the second patch I would like to introduce. Previously, we overrode the startup and shutdown to ensure both client and worker events would be handled properly. However, this made InMemoryBroker unable to handle startup and shutdown middleware hooks.
This change brings the handling of startup and shutdown middleware hooks back. Feel free to let me know if you have any concerns or suggestions!
Hi,
This is the second patch I would like to introduce. Previously, we overrode the
startup
andshutdown
to ensure bothclient
andworker
events would be handled properly. However, this made InMemoryBroker unable to handlestartup
andshutdown
middleware hooks.This change brings the handling of
startup
andshutdown
middleware hooks back. Feel free to let me know if you have any concerns or suggestions!