Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka Queue Handler #21

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Conversation

coreation
Copy link

@coreation coreation commented Mar 24, 2021

Notes

Hello everyone, this PR isn't meant to be PR'ed right away (cfr. composer changes isn't something I want to merge back into the stack), it's a PoC for the use case where I want to listen to a Kafka topic that isn't a serialised PHP class. When configuring Kafka, the laravel container tries to create a job out of the job payload, but for topics that are just transferring data, this of course goes wrong.

My idea was to have a configuration for a "handler" class to handle this use case. I noticed in the Symfony documentation example there was a spot for a "client", but I don't see anything else wrt to how this interacts exactly with the framework.
Assuming this "client" configuration entry serves the same purpose as this "handler" configuration, I'd be interested to see how I could configure it inside the queue.php config file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant