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

Pgq:ConsumerGroup class should not check individual events #1039

Open
dmitry-sinina opened this issue Oct 14, 2021 · 0 comments
Open

Pgq:ConsumerGroup class should not check individual events #1039

dmitry-sinina opened this issue Oct 14, 2021 · 0 comments

Comments

@dmitry-sinina
Copy link
Contributor

Currently Pgq:ConsumerGroup using pgq_ext.is_event_done() to check if event was completed before:

SELECT * FROM pgq.get_batch_events(3746016) WHERE pgq_ext.is_event_done('cdr_clickhouse', 3746016, ev_id) = false ORDER BY ev_id

This query should look like:

SELECT * FROM pgq.get_batch_events(3746016)
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