eca_kafka
ECA Kafka provides a Kafka publisher action for the ECA (Event-Condition-Action) framework, enabling Drupal sites to send structured messages to Kafka topics using Confluent Cloud API v3.
Features
- Adds "Kafka: Send Message" action to ECA
- Template system for reusable message formats
- General and model-specific templates based on event context
- Flexible messaging: use templates or custom messages in actions
- Permission levels for administrators and template managers
- Works with any ECA event (120+ available)
Post-Installation
1. Configure Kafka connection at /admin/config/workflow/eca/kafka/connection
2. Test the connection
3. Optionally initialize templates for events you want to manage
4. Add the "Kafka: Send Message" action to your ECA configurations
Additional Requirements
- ECA Module: Required for event-driven workflows
- Key Module: Required for storing API credentials
- Confluent Cloud Account: With API access for Kafka integration
Recommended modules/libraries
- ECA submodules: Additional ECA event types and actions
- BPMN.io: Visual modeller for creating ECA workflows
Similar projects
This module specifically integrates with ECA's event system and focuses on Confluent Cloud API v3 rather than providing general-purpose Kafka messaging capabilities.
Supporting this Module
This is a proof-of-concept module suitable for testing and development. It has not been tested for production use.
Community Documentation
Full documentation is available in the module's README file.