Watchdog Kafka - Configuration
Message in Kafka Queue

Apache Kafka is an open-source stream-processing software platform developed by the Apache Software Foundation, written in Scala and Java. The project aims to provide a unified, high-throughput, low-latency platform for handling real-time data feeds.

Kafka combines three key capabilities so you can implement your use cases for event streaming end-to-end with a single battle-tested solution:

  1. To publish (write) and subscribe to (read) streams of events, including continuous import/export of your data from other systems.
  2. To store streams of events durably and reliably for as long as you want.
  3. To process streams of events as they occur or retrospectively

This module will publish the watchdog logs to the Kafka queue.
Instead of using the database logging, pass all the logs to the Kafka queue and then these log messages can be consumed or read by the consumer.

REQUIREMENTS
------------

* PHP 7.2 and above, libkafka v0.11.0, php extension rdkafka-3.0.3

CONFIGURATION
-------------

* To configure this module, go to /admin/config/development/kafka-config
* Add Kafka brokers.
* Add Kafka Topic.
* And save the configuration.
* You can test the Kafka connection by clicking the "Test Connection" button.

SETUP HELPER
-------------

https://github.com/rahul-kr/docker-php-kafka
Here complete docker setup is available. Also, sample files for producer and consumer is also included.

Supporting organizations: 

Project information

Releases