laravel-pubsub
laravel-pubsub copied to clipboard
Sasl support
Hi, I've added code which allows authentication with the kafka server via the SASL protocol, with username & password credentials. Our particular use case is for Confluent Cloud (https://www.confluent.io/confluent-cloud/), but if other authentication protocols were needed in the future they could be added to the switch statement.
Please let me know if there are any issues.
Thanks
The Travis Build which fails (php nightly) is due to PHPUnit's requirement for php version ^5.6 | ^7.0. PHP nightly build is currently 8.0.0-dev.