faktory-1.1.2.4: faktory.cabal
cabal-version: 1.18
name: faktory
version: 1.1.2.4
license: MIT
license-file: LICENSE
copyright: 2018 Freckle Education
maintainer: engineering@freckle.com
author: Freckle Engineering
homepage: https://github.com/frontrowed/faktory_worker_haskell#readme
bug-reports: https://github.com/frontrowed/faktory_worker_haskell/issues
synopsis: Faktory Worker for Haskell
description:
Haskell client and worker process for the Faktory background job server.
.
== Architecture overview
.
@
| +--------------------+
| | |
| | Faktory |
| | Server |
| +---------->>>>| +>>>>--------+
| | | | |
| | | | |
| | +--------------------+ |
| +-----------------+ +-------------------+
| | | | |
| | Client | | Worker |
| | pushes | | pulls |
| | jobs | | jobs |
| | | | |
| | | | |
| +-----------------+ +-------------------+
@
.
* `Client` - an API any process can use to push jobs to the Faktory server.
* `Worker` - a process that pulls jobs from Faktory and executes them.
* `Server` - the Faktory daemon which stores background jobs in queues to be processed by Workers.
.
This package contains only the `Client` and `Worker`.
category: Network
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.lhs
source-repository head
type: git
location: https://github.com/frontrowed/faktory_worker_haskell
library
exposed-modules:
Faktory.Client
Faktory.Connection
Faktory.Ent.Batch
Faktory.Ent.Batch.Status
Faktory.Ent.Tracking
Faktory.Job
Faktory.Job.Custom
Faktory.JobFailure
Faktory.JobOptions
Faktory.JobState
Faktory.Prelude
Faktory.Producer
Faktory.Protocol
Faktory.Settings
Faktory.Settings.Queue
Faktory.Worker
Network.Connection.Compat
hs-source-dirs: library
other-modules: Paths_faktory
default-language: Haskell2010
default-extensions:
BangPatterns DeriveAnyClass DeriveFoldable DeriveFunctor
DeriveGeneric DeriveLift DeriveTraversable DerivingStrategies
FlexibleContexts FlexibleInstances GADTs GeneralizedNewtypeDeriving
LambdaCase MultiParamTypeClasses NoImplicitPrelude
NoMonomorphismRestriction OverloadedStrings RankNTypes
RecordWildCards ScopedTypeVariables StandaloneDeriving
TypeApplications TypeFamilies
ghc-options:
-Weverything -Wno-missing-exported-signatures
-Wno-missed-specialisations -Wno-all-missed-specialisations
-Wno-unsafe -Wno-safe -Wno-missing-local-signatures
-Wno-monomorphism-restriction -Wno-missing-import-lists
build-depends:
aeson,
aeson-casing,
base >=4 && <5,
bytestring,
connection,
cryptonite,
errors,
megaparsec,
memory,
mtl,
network,
random,
safe-exceptions,
scanner,
semigroups >=0.19.1,
text,
time,
unix,
unordered-containers
if impl(ghc >=8.10)
ghc-options:
-Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module
if impl(ghc >=9.2)
ghc-options: -Wno-missing-kind-signatures
executable faktory-example-consumer
main-is: Main.hs
hs-source-dirs: examples/consumer
other-modules: Paths_faktory
default-language: Haskell2010
default-extensions:
BangPatterns DeriveAnyClass DeriveFoldable DeriveFunctor
DeriveGeneric DeriveLift DeriveTraversable DerivingStrategies
FlexibleContexts FlexibleInstances GADTs GeneralizedNewtypeDeriving
LambdaCase MultiParamTypeClasses NoImplicitPrelude
NoMonomorphismRestriction OverloadedStrings RankNTypes
RecordWildCards ScopedTypeVariables StandaloneDeriving
TypeApplications TypeFamilies
ghc-options:
-Weverything -Wno-missing-exported-signatures
-Wno-missed-specialisations -Wno-all-missed-specialisations
-Wno-unsafe -Wno-safe -Wno-missing-local-signatures
-Wno-monomorphism-restriction -Wno-missing-import-lists
build-depends:
aeson,
base >=4 && <5,
faktory,
safe-exceptions
if impl(ghc >=8.10)
ghc-options:
-Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module
if impl(ghc >=9.2)
ghc-options: -Wno-missing-kind-signatures
executable faktory-example-producer
main-is: Main.hs
hs-source-dirs: examples/producer
other-modules: Paths_faktory
default-language: Haskell2010
default-extensions:
BangPatterns DeriveAnyClass DeriveFoldable DeriveFunctor
DeriveGeneric DeriveLift DeriveTraversable DerivingStrategies
FlexibleContexts FlexibleInstances GADTs GeneralizedNewtypeDeriving
LambdaCase MultiParamTypeClasses NoImplicitPrelude
NoMonomorphismRestriction OverloadedStrings RankNTypes
RecordWildCards ScopedTypeVariables StandaloneDeriving
TypeApplications TypeFamilies
ghc-options:
-Weverything -Wno-missing-exported-signatures
-Wno-missed-specialisations -Wno-all-missed-specialisations
-Wno-unsafe -Wno-safe -Wno-missing-local-signatures
-Wno-monomorphism-restriction -Wno-missing-import-lists
build-depends:
aeson,
base >=4 && <5,
faktory,
safe-exceptions
if impl(ghc >=8.10)
ghc-options:
-Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module
if impl(ghc >=9.2)
ghc-options: -Wno-missing-kind-signatures
test-suite hspec
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: tests
other-modules:
Faktory.ConnectionSpec
Faktory.Ent.BatchSpec
Faktory.Ent.TrackingSpec
Faktory.JobOptionsSpec
Faktory.JobSpec
Faktory.Test
FaktorySpec
Paths_faktory
default-language: Haskell2010
default-extensions:
BangPatterns DeriveAnyClass DeriveFoldable DeriveFunctor
DeriveGeneric DeriveLift DeriveTraversable DerivingStrategies
FlexibleContexts FlexibleInstances GADTs GeneralizedNewtypeDeriving
LambdaCase MultiParamTypeClasses NoImplicitPrelude
NoMonomorphismRestriction OverloadedStrings RankNTypes
RecordWildCards ScopedTypeVariables StandaloneDeriving
TypeApplications TypeFamilies
ghc-options:
-Weverything -Wno-missing-exported-signatures
-Wno-missed-specialisations -Wno-all-missed-specialisations
-Wno-unsafe -Wno-safe -Wno-missing-local-signatures
-Wno-monomorphism-restriction -Wno-missing-import-lists -rtsopts
build-depends:
aeson,
aeson-qq,
async,
base >=4 && <5,
faktory,
hspec,
mtl,
time
if impl(ghc >=8.10)
ghc-options:
-Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module
if impl(ghc >=9.2)
ghc-options: -Wno-missing-kind-signatures
test-suite readme
type: exitcode-stdio-1.0
main-is: README.lhs
hs-source-dirs: ./
other-modules: Paths_faktory
default-language: Haskell2010
default-extensions:
BangPatterns DeriveAnyClass DeriveFoldable DeriveFunctor
DeriveGeneric DeriveLift DeriveTraversable DerivingStrategies
FlexibleContexts FlexibleInstances GADTs GeneralizedNewtypeDeriving
LambdaCase MultiParamTypeClasses NoImplicitPrelude
NoMonomorphismRestriction OverloadedStrings RankNTypes
RecordWildCards ScopedTypeVariables StandaloneDeriving
TypeApplications TypeFamilies
ghc-options:
-Weverything -Wno-missing-exported-signatures
-Wno-missed-specialisations -Wno-all-missed-specialisations
-Wno-unsafe -Wno-safe -Wno-missing-local-signatures
-Wno-monomorphism-restriction -Wno-missing-import-lists -pgmL
markdown-unlit
build-depends:
aeson,
base >=4 && <5,
faktory,
markdown-unlit
if impl(ghc >=8.10)
ghc-options:
-Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module
if impl(ghc >=9.2)
ghc-options: -Wno-missing-kind-signatures