-
Notifications
You must be signed in to change notification settings - Fork 19
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
listener app never receives request respone #272
Comments
👋 Hello @tekumara , Thank you for bringing this to our attention. From the logs and code snippets you've provided, it looks like your However, if you intend to use JetStream capabilities, the approach required for message handling is different than core NATS. To use JetStream with Panini, you need to:
If you have further questions or face any issues, please don't hesitate to ask. We're here to help! |
Thanks @artas728 sorry I didn't describe the issue well. I'm following the README and expecting to see multiple As per the README I'm expecting:
|
Hello @tekumara, Thank you for clarifying the issue. It seems like there might be a step missing in your setup. To see the expected 'request has been processed' log lines, you also need to run Here is a brief step to follow:
Executing both will allow the interaction between the two, enabling Please try running both applications as mentioned above and let us know if you encounter any further issues or if there is anything more we can assist you with! |
So I am running the sending app at the same time in a separate terminal:
|
@tekumara, thank you for sharing the sender app logs. To clarify, when you're running |
Yep that's right. I only get the output shown above from |
Tthere is a minor mistake in the code from README.md. Below the same code but fixed. Python 3.10 listener app:
sender app:
Let me know if it works for you |
Hi @artas728 I figured it out, using the original code from the README. I have to start the listener app first. If I start the sender app first I never see any requests. Thanks for all your help! |
panini==0.8.2
nats-py==2.2.0
nats-python==0.8.0
The text was updated successfully, but these errors were encountered: