Cosmo Router provides powerful handlers to hook into the event processing of Cosmo Streams. These handlers allow you to implement custom logic for subscription lifecycle management, event processing and data transformation.Documentation Index
Fetch the complete documentation index at: https://wundergraphinc-milinda-eng-8701-implement-cache-warmer-from.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Custom Modules in Cosmo Streams are available since Router version 0.266.0
Available Hooks
The Cosmo Streams system provides three main hook interfaces that you can implement with Custom Modules:SubscriptionOnStartHandler: Called when a client subscribesOnReceiveEventHandler: Called when events are received from a message brokerOnPublishEventHandler: Called when events are going to be sent to a message broker