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

Implement threaded consumers to handle long running consumption microprocesses #91

Closed
jackleland opened this issue Feb 9, 2024 · 1 comment
Assignees

Comments

@jackleland
Copy link
Contributor

The idea on this is to spawn a daemon thread upon consumption which calls connection.process_data_events() and therefore keeps the connection alive. This will allow for very short heartbeats.

Careful care needs to be taken to ensure this is killed appropriately when the connection dies.

@jackleland
Copy link
Contributor Author

Implemented as of #90. Will close when merged into main.

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

No branches or pull requests

1 participant