PHPackages                             septech-laravel/kafka - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. septech-laravel/kafka

ActiveLibrary[HTTP &amp; Networking](/categories/http)

septech-laravel/kafka
=====================

Rdkafka connector for Laravel

v1.0.5(5y ago)3102MITPHP

Since Sep 19Pushed 5y ago2 watchersCompare

[ Source](https://github.com/FlintersVN/laravel-kafka)[ Packagist](https://packagist.org/packages/septech-laravel/kafka)[ RSS](/packages/septech-laravel-kafka/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (1)Versions (8)Used By (0)

Installation
------------

[](#installation)

```
composer require septech-laravel/kafka
```

Usage
-----

[](#usage)

### Environment variables

[](#environment-variables)

```
# The kafka brokers, seperate by command
KAFKA_BROKERS=10.0.0.2,127.0.0.1
KAFKA_SSL_CA_LOCATION=./ca.crt

# For SSL client
SECURITY_PROTOCOL=[ssl | plaintext]
KAFKA_SSL_CERTIFICATE_LOCATION=./user.crt
KAFKA_SSL_KEY_LOCATION=./user.key
KAFKA_SSL_KEY_PASSWORD=SOME_PASSWORD

```

### Via injection

[](#via-injection)

```
