Reactions
Available Reaction plugins for drasi-lib
Reactions respond to changes in Continuous Query results and trigger actions, such as sending webhooks, logging, updating databases, or calling back into your application. Each Reaction is a separate crate that you add to your Cargo.toml as needed.
Available Reactions
Application
Handle query result changes directly in your application code
gRPC
Stream query results via gRPC to external services
HTTP
Send webhooks to external endpoints on query result changes
Log
Output query result changes to console with configurable templates
MySQL Stored Proc
Execute MySQL stored procedures on query result changes
PostgreSQL Stored Proc
Execute PostgreSQL stored procedures on query result changes
Profiler
Collect performance metrics for query execution
SQL Server Stored Proc
Execute SQL Server stored procedures on query result changes
SSE
Server-Sent Events for browser and client streaming
Building Custom Reactions
If you need to integrate with a system not covered by the available Reactions, you can build your own Reaction by following the Drasi Reaction Developer Guide:
Feedback
Was this page helpful?
Glad to hear it! Please tell us what you found helpful.
Sorry to hear that. Please tell us how we can improve.