2017 © Pedro Peláez
 

library monolog-kafka

Apache Kafka handler for Monolog

image

kozlice/monolog-kafka

Apache Kafka handler for Monolog

  • Friday, December 15, 2017
  • by kozlice
  • Repository
  • 1 Watchers
  • 2 Stars
  • 135 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 13 % Grown

The README.md

Apache Kafka handler for Monolog

Build Status, (*1)

Support for logging into Apache Kafka using rdkafka extension., (*2)

Usage example:, (*3)

$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 7.4+ with PECL rdkafka 4.x/5.x - PHP 8+ with PECL rdkafka 5.x, (*4)

Manually tested with Apache Kafka 2.8.0., (*5)

If you need support for earlier versions of PHP or rdkafka extension, please check out the v1.0.1 tag., (*6)

The Versions

15/12 2017

dev-master

9999999-dev http://github.com/kozlice/monolog-kafka

Apache Kafka handler for Monolog

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin Nazarov

log psr-3 logging kafka apache kafka

13/12 2016

v1.0.0

1.0.0.0 http://github.com/kozlice/monolog-kafka

Apache Kafka handler for Monolog

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin Nazarov

log psr-3 logging kafka apache kafka