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

Consumer closes immediately when executed from spawned app within integration test #745

Open
lcmgh opened this issue Nov 20, 2024 · 1 comment

Comments

@lcmgh
Copy link

lcmgh commented Nov 20, 2024

It is crazy. I start my StreamConsumer in my app with "cargo run" and it properly consumes messages. When doing the same via spawning my app as tokio ask within my integration tests or via std::process::Command with exact the same command the consumer immediately closes.

Starting stream consumer wake loop: 0x14e834800
Shut down stream consumer wake loop: 0x14e834800
@lcmgh
Copy link
Author

lcmgh commented Nov 20, 2024

I found this issue does not occur when my app does not spawn an axum server. super-strange

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

No branches or pull requests

1 participant