Integrating with event.pub system