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

Google pubsub implementation #44

Merged
merged 8 commits into from
May 7, 2024

Conversation

fcollman
Copy link
Contributor

@fcollman fcollman commented May 7, 2024

I have added an implementation based on google pub sub, it doesn't have many of the features of SQS so i had to return NaN for many things, and the qurl format is a bit funny.

/project_id//topics/<topic_id>/subscriptions/<sub_id>

because it requires both a topic and a subscription, but i have tested it and it works for a dummy print case.

@william-silversmith
Copy link
Contributor

Thank you Forrest! It looks like this is the issue in the failing tests (not your fault):

https://stackoverflow.com/questions/77903321/importerror-cannot-import-name-mock-s3-from-moto

@william-silversmith william-silversmith self-assigned this May 7, 2024
@william-silversmith william-silversmith self-requested a review May 7, 2024 17:28
@william-silversmith william-silversmith removed their assignment May 7, 2024
@william-silversmith william-silversmith merged commit e978bd5 into seung-lab:master May 7, 2024
5 checks passed
@ranlu
Copy link

ranlu commented May 8, 2024

I think we should mention in the document the user need to call renew_lease periodically otherwise the task will be visible again. I think the maximal deadline is 600s
https://cloud.google.com/pubsub/docs/lease-management

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

Successfully merging this pull request may close these issues.

3 participants