Open zek opened 2 years ago
It also requires to add an additional functionality for publishing.
SomeEvent::connection('custom')->publish([]);
and the helper function should receive parameters like
publish('event.name', $payload, $parameters = ['connection' => 'custom']);
The connection config couldn't be resolved in the boot method of the service provider as it does now.
Defining connection option in the command line is not working. Always using default connection
I suspect it is because of following line
https://github.com/nuwber/rabbitevents/blob/7.x/src/RabbitEvents/Foundation/RabbitEventsServiceProvider.php#L42