consumers: Concurrent PostgreSQL data consumers

[ bsd3, concurrency, database, library ] [ Propose Tags ] [ Report a vulnerability ]

Library for setting up concurrent consumers of data stored inside PostgreSQL database in a simple, declarative manner.


[Skip to Readme]

Modules

[Last Documentation]

  • Database
    • PostgreSQL
      • Database.PostgreSQL.Consumers
        • Database.PostgreSQL.Consumers.Components
        • Database.PostgreSQL.Consumers.Config
        • Database.PostgreSQL.Consumers.Consumer
        • Database.PostgreSQL.Consumers.Utils

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 1.0, 1.1, 2.0, 2.0.0.1, 2.1.0.0, 2.1.1.0, 2.1.2.0, 2.2.0.0, 2.2.0.1, 2.2.0.2, 2.2.0.3, 2.2.0.4, 2.2.0.5, 2.2.0.6, 2.3.0.0, 2.3.1.0, 2.3.2.0, 2.3.3.0, 2.3.3.1, 2.3.4.0 (info)
Change log CHANGELOG.md
Dependencies aeson (>=2.0), base (>=4.16 && <5), containers (>=0.5), exceptions (>=0.10), hpqtypes (>=1.13), lifted-base (>=0.2), lifted-threads (>=1.0), log-base (>=0.11), monad-control (>=1.0), monad-time (>=0.4), mtl (>=2.2), safe-exceptions (>=0.1.7), stm (>=2.4), text (>=1.2), time (>=1.6), transformers-base (>=0.4) [details]
Tested with ghc ==9.2.8 || ==9.4.8 || ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.2 || ==9.14.1
License BSD-3-Clause
Copyright Scrive AB
Author Scrive AB
Maintainer Andrzej Rybczak <andrzej@rybczak.net>, Jonathan Jouty <jonathan.jouty@scrive.com>
Category Concurrency, Database
Home page https://github.com/scrive/consumers
Bug tracker https://github.com/scrive/consumers/issues
Source repo head: git clone https://github.com/scrive/consumers.git
Uploaded by arybczak at 2025-11-27T14:44:39Z
Distributions LTSHaskell:2.3.3.1, NixOS:2.3.3.1, Stackage:2.3.4.0
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 9325 total (82 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2025-11-27 [all 2 reports]

Readme for consumers-2.3.4.0

[back to package description]

consumers

Haskell-CI Hackage version

Library for setting up concurrent consumers of data stored inside PostgreSQL database in a simple, declarative manner.

See the examples/ directory for a usage example.

If you want to add metrics, see the consumers-metrics-prometheus package to seamlessly instrument your consumer.