Coder Social home page Coder Social logo

pgq-ext's Introduction

Track processed batches and events in target DB

Batch tracking is OK.

Event tracking is OK if consumer does not use retry queue.

Batch tracking

is_batch_done(consumer, batch)

returns:

true - batch is done already false - batch is not done yet

set_batch_done(consumer, batch)

returns:

true - tagging successful, batch was not done yet false - batch was done already

Event tracking

is_batch_done(consumer, batch, event)

returns:

true - event is done false - event is not done yet

set_batch_done(consumer, batch, event)

returns:

true - tagging was successful, event was not done false - event is done already

pgq-ext's People

Contributors

markokr avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

gridl furmur

pgq-ext's Issues

Incorrect tag - v3.3.1

Hello!

The v3.3.1 tag is actually named incorrectly and should be modified. It's actually supposed to be v3.1.1.
This caused issues because the v3.3.1 tag looks "newer" than the v3.3 tag, which isn't true based on date stamps and content. Building the v3.3.1 tag actually gives you a 3.1.1 build.

Additionally, if you look at this link:
https://github.com/pgq/pgq-ext/releases/tag/v3.3.1
you will see that this asset is 3.1.1:
pgq_ext-3.1.1.tar.gz

We thought it might be helpful to suggest renaming this tag to prevent confusion, especially since v3.3 is the "latest and greatest".

Your pgq_ext extension right now not work

ubuntu bionic
ubuntu xenial
debian stretch

now to compile a working extension I need to go back one commit

create extension pgq_ext;
ERROR: extension "pgq_ext" has no installation script nor update path for version "3.1"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.