-
Notifications
You must be signed in to change notification settings - Fork 6
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
pulsar integration #20
Conversation
review.mp4 |
broadcaster/_backends/pulsar.py
Outdated
|
||
async def next_published(self) -> Event: | ||
while True: | ||
msg = await self._run_in_executor(self._consumer.receive) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better wrap everything inside this while in a try except all, so that an exception will not crash the consumer.
@danyi1212 ... |
81e8a93
to
a295c17
Compare
@danyi1212 waiting for workflow approval |
@danyi1212 Found out just updating you on my progress. |
Everything works fine currently on a test branch... https://github.com/daveads/broadcaster/actions/runs/11015265520 |
Pulsar integration Feature #583
permitio/opal#583