Download the PHP package stseira/monolog-kafka without Composer
On this page you can find all versions of the php package stseira/monolog-kafka. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download stseira/monolog-kafka
More information about stseira/monolog-kafka
Files in stseira/monolog-kafka
Download stseira/monolog-kafka
More information about stseira/monolog-kafka
Files in stseira/monolog-kafka
Vendor stseira
Package monolog-kafka
Short Description Apache Kafka handler for Monolog
License MIT
Homepage http://github.com/kozlice/monolog-kafka
Package monolog-kafka
Short Description Apache Kafka handler for Monolog
License MIT
Homepage http://github.com/kozlice/monolog-kafka
Please rate this library. Is it a good library?
Informations about the package monolog-kafka
Apache Kafka handler for Monolog
Support for logging into Apache Kafka using rdkafka extension (there are a few libraries for PHP, but this once seems to be most mature and supports Kafka versions 0.8, 0.9 & 0.10).
Usage example:
$config = new \RdKafka\Conf();
$config->set('metadata.broker.list', '127.0.0.1');
$producer = new \RdKafka\Producer($config);
$logger = new Logger('my_logger');
$logger->pushHandler(new KafkaHandler($producer, 'test'));
Works with:
- PHP 5.6 & rdkafka 1.*
- PHP 7+ & rdkafka 2.* and 3.*
Manually tested with Apache Kafka 0.10.1.
All versions of monolog-kafka with dependencies
PHP Build Version
Package Version
The package stseira/monolog-kafka contains the following files
Loading the files please wait ....