ensi-kafka

Integrate Apache Kafka with Ensi Laravel services for message passing and model change events.

1|2|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/ensi-platform/skills --skill ensi-kafka
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ensi-kafka
Source: https://github.com/ensi-platform/skills/tree/main/skills/ensi-kafka
Command: npx skills add https://github.com/ensi-platform/skills --skill ensi-kafka

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ensi/laravel-phprdkafka, ensi/laravel-phprdkafka-producer, ensi/laravel-phprdkafka-consumer, ensi/laravel-initial-event-propagation, ensi/laravel-metrics, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables the seamless integration of Apache Kafka with Ensi Laravel services, providing tools to manage producers, consumers, observers, and Kafka topics.

Core Features & Use Cases

  • Kafka Integration: Facilitates Kafka communication within the Ensi ecosystem, ideal for implementing event-driven architectures and distributed systems.
  • Producers & Consumers: Allows the creation and management of Kafka producers and consumers to send and receive messages.
  • Observer Setup: Offers configuration and integration of Laravel observers for triggering Kafka events on model changes.
  • Topic Configuration: Provides guidance on creating Kafka topics and naming conventions.

Quick Start

Use the ensi-kafka skill to create a Kafka producer for the 'products' entity by following the steps outlined in the documentation.

Frequently Asked Questions about ensi-kafka

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Kafka with Laravel services for event-driven messaging?

You integrate Kafka with Laravel by configuring producers, consumers, and observers to pass messages between services and trigger events on model changes. This setup requires specific Kafka packages to handle message flow and topic naming conventions.

How do I set up a Kafka producer and consumer in a Laravel application?

Setting up Kafka producers and consumers in Laravel involves using dedicated packages to send and receive messages. You configure the producer to publish entity events to topics, and the consumer to subscribe and process those incoming messages.

Can I trigger Kafka events automatically when Laravel models change?

Yes, you can trigger Kafka events on model changes by integrating Laravel observers. The observer listens for model lifecycle events and automatically passes the corresponding event data to your configured Kafka producer.

What dependencies do I need to run Kafka integration in the Ensi Laravel ecosystem?

You need several specific dependencies including ensi/laravel-phprdkafka, along with separate producer, consumer, initial event propagation, and metrics packages. These provide the core messaging, event triggering, and monitoring infrastructure.

What is the best way to configure Kafka topic naming conventions in Laravel services?

The recommended approach is to follow specific topic naming conventions provided by the Kafka integration documentation. This ensures consistent message routing and discovery across distributed services within the ecosystem.

Does Kafka integration in Laravel support initial event propagation and metrics tracking?

Yes, the Kafka integration supports initial event propagation and metrics tracking through dedicated dependencies. These components ensure reliable message dispatch and provide monitoring capabilities for your event-driven architecture.