-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
dramatiq.composition.pipeline is not working as expected with reference to the documentation. #524
Comments
Can you show a minimal reproducible example? Make sure you're not overriding the default middlewares, or if that's intended, add |
@synweap15 - Following is the code for your reference:
Error:
After this I tried replacing
|
Are the broker definition and actors definitions placed in the same file? If not, you need to start the worker also pointing to the file which contains the actor's definitions:
So eg. |
As you can see from above code, both the actors & broker are defined in the same file.
|
Issues
I think
dramatiq.composition.pipeline
is not working as expected. The output/result of first actor is not getting passed to second actor.Checklist
What OS are you using?
macOS 13.1
What version of Dramatiq are you using?
dramatiq == 1.13.0
What did you do?
I tries to use the
composition.pipeline([actor1.message(input), actor2.message()], broker=broker).run()
What did you expect would happen?
As per documentation, the output result/message from first actor i.e.
actor1
should get passed to second actor i.e.actor2
.But that is not happening here.
What happened?
But the output of first actor i.e.
actor1
is not getting passed to second actor i.e.actor2
.The text was updated successfully, but these errors were encountered: