nri-kafka-0.4.0.1: nri-kafka.cabal
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.38.3.
--
-- see: https://github.com/sol/hpack
name: nri-kafka
version: 0.4.0.1
synopsis: Functions for working with Kafka
description: Please see the README at <https://github.com/NoRedInk/haskell-libraries/tree/trunk/nri-kafka#readme>.
category: Web
homepage: https://github.com/NoRedInk/haskell-libraries/tree/trunk/nri-kafka#readme
bug-reports: https://github.com/NoRedInk/haskell-libraries/issues
author: NoRedInk
maintainer: haskell-open-source@noredink.com
copyright: 2026 NoRedInk Corp.
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
LICENSE
CHANGELOG.md
source-repository head
type: git
location: https://github.com/NoRedInk/haskell-libraries
subdir: nri-kafka
flag pause-resume-bug
manual: False
default: False
flag sync-write-benchmark
manual: False
default: False
library
exposed-modules:
Kafka
Kafka.Worker
Kafka.Test
other-modules:
Kafka.Internal
Kafka.Settings
Kafka.Settings.Internal
Kafka.Worker.Analytics
Kafka.Worker.Fetcher
Kafka.Worker.Internal
Kafka.Worker.Partition
Kafka.Worker.Settings
Kafka.Worker.Stopping
Paths_nri_kafka
hs-source-dirs:
src
default-extensions:
DataKinds
DeriveGeneric
ExtendedDefaultRules
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
NumericUnderscores
OverloadedStrings
PartialTypeSignatures
ScopedTypeVariables
Strict
TypeOperators
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wpartial-fields -Wredundant-constraints -Wincomplete-uni-patterns -fno-warn-type-defaults -fplugin=NriPrelude.Plugin
build-depends:
aeson >=2.0 && <2.3
, async >=2.2.2 && <2.3
, base >=4.18 && <4.22
, bytestring >=0.10.8.2 && <0.13
, conduit >=1.3.0 && <1.4
, containers >=0.6.0.1 && <0.8
, hw-kafka-client >=4.0.3 && <5.0
, nri-env-parser >=0.1.0.0 && <0.5
, nri-observability >=0.1.1.1 && <0.5
, nri-prelude >=0.7.0.0 && <0.8
, safe-exceptions >=0.1.7.0 && <1.3
, stm >=2.4 && <2.6
, text >=1.2.3.1 && <2.2
, time >=1.8.0.2 && <2
, unix >=2.7.2.2 && <2.9
, uuid >=1.3.0 && <1.4
default-language: Haskell2010
executable pause-resume-bug-consumer
main-is: Consumer.hs
other-modules:
Message
Producer
Paths_nri_kafka
hs-source-dirs:
scripts/pause-resume-bug
default-extensions:
DataKinds
DeriveGeneric
ExtendedDefaultRules
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
NumericUnderscores
OverloadedStrings
PartialTypeSignatures
ScopedTypeVariables
Strict
TypeOperators
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wpartial-fields -Wredundant-constraints -Wincomplete-uni-patterns -fno-warn-type-defaults -fplugin=NriPrelude.Plugin -threaded -rtsopts "-with-rtsopts=-N -T" -O2 -main-is Consumer
build-depends:
aeson >=2.0 && <2.3
, async >=2.2.2 && <2.3
, base >=4.18 && <4.22
, bytestring >=0.10.8.2 && <0.13
, conduit >=1.3.0 && <1.4
, containers >=0.6.0.1 && <0.8
, hw-kafka-client >=4.0.3 && <5.0
, nri-env-parser >=0.1.0.0 && <0.5
, nri-kafka
, nri-observability >=0.1.1.1 && <0.5
, nri-prelude >=0.7.0.0 && <0.8
, safe-exceptions >=0.1.7.0 && <1.3
, stm >=2.4 && <2.6
, text >=1.2.3.1 && <2.2
, time >=1.8.0.2 && <2
, unix >=2.7.2.2 && <2.9
, uuid >=1.3.0 && <1.4
default-language: Haskell2010
if flag(pause-resume-bug)
buildable: True
else
buildable: False
executable pause-resume-bug-producer
main-is: Producer.hs
other-modules:
Consumer
Message
Paths_nri_kafka
hs-source-dirs:
scripts/pause-resume-bug
default-extensions:
DataKinds
DeriveGeneric
ExtendedDefaultRules
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
NumericUnderscores
OverloadedStrings
PartialTypeSignatures
ScopedTypeVariables
Strict
TypeOperators
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wpartial-fields -Wredundant-constraints -Wincomplete-uni-patterns -fno-warn-type-defaults -fplugin=NriPrelude.Plugin -main-is Producer
build-depends:
aeson >=2.0 && <2.3
, async >=2.2.2 && <2.3
, base >=4.18 && <4.22
, bytestring >=0.10.8.2 && <0.13
, conduit >=1.3.0 && <1.4
, containers >=0.6.0.1 && <0.8
, hw-kafka-client >=4.0.3 && <5.0
, nri-env-parser >=0.1.0.0 && <0.5
, nri-kafka
, nri-observability >=0.1.1.1 && <0.5
, nri-prelude >=0.7.0.0 && <0.8
, safe-exceptions >=0.1.7.0 && <1.3
, stm >=2.4 && <2.6
, text >=1.2.3.1 && <2.2
, time >=1.8.0.2 && <2
, unix >=2.7.2.2 && <2.9
, uuid >=1.3.0 && <1.4
default-language: Haskell2010
if flag(pause-resume-bug)
buildable: True
else
buildable: False
executable sync-write-benchmark
main-is: Main.hs
other-modules:
Paths_nri_kafka
hs-source-dirs:
scripts/sync-write-benchmark
default-extensions:
DataKinds
DeriveGeneric
ExtendedDefaultRules
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
NumericUnderscores
OverloadedStrings
PartialTypeSignatures
ScopedTypeVariables
Strict
TypeOperators
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wpartial-fields -Wredundant-constraints -Wincomplete-uni-patterns -fno-warn-type-defaults -fplugin=NriPrelude.Plugin -threaded -rtsopts "-with-rtsopts=-N -T" -O2 -main-is Main
build-depends:
aeson >=2.0 && <2.3
, async >=2.2.2 && <2.3
, base >=4.18 && <4.22
, bytestring >=0.10.8.2 && <0.13
, conduit >=1.3.0 && <1.4
, containers >=0.6.0.1 && <0.8
, hw-kafka-client >=4.0.3 && <5.0
, nri-env-parser >=0.1.0.0 && <0.5
, nri-kafka
, nri-observability >=0.1.1.1 && <0.5
, nri-prelude >=0.7.0.0 && <0.8
, safe-exceptions >=0.1.7.0 && <1.3
, stm >=2.4 && <2.6
, text >=1.2.3.1 && <2.2
, time >=1.8.0.2 && <2
, unix >=2.7.2.2 && <2.9
, uuid >=1.3.0 && <1.4
default-language: Haskell2010
if flag(sync-write-benchmark)
buildable: True
else
buildable: False
test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Kafka
Kafka.Internal
Kafka.Settings
Kafka.Settings.Internal
Kafka.Test
Kafka.Worker
Kafka.Worker.Analytics
Kafka.Worker.Fetcher
Kafka.Worker.Internal
Kafka.Worker.Partition
Kafka.Worker.Settings
Kafka.Worker.Stopping
Helpers
Spec.Kafka.Worker.Integration
Spec.Kafka.Worker.Partition
Paths_nri_kafka
hs-source-dirs:
src
test
default-extensions:
DataKinds
DeriveGeneric
ExtendedDefaultRules
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
NumericUnderscores
OverloadedStrings
PartialTypeSignatures
ScopedTypeVariables
Strict
TypeOperators
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wpartial-fields -Wredundant-constraints -Wincomplete-uni-patterns -fno-warn-type-defaults -fplugin=NriPrelude.Plugin -threaded -rtsopts "-with-rtsopts=-N -T" -fno-warn-type-defaults
build-depends:
aeson >=2.0 && <2.3
, async >=2.2.2 && <2.3
, base >=4.18 && <4.22
, bytestring >=0.10.8.2 && <0.13
, conduit >=1.3.0 && <1.4
, containers >=0.6.0.1 && <0.8
, hw-kafka-client >=4.0.3 && <5.0
, nri-env-parser >=0.1.0.0 && <0.5
, nri-observability >=0.1.1.1 && <0.5
, nri-prelude >=0.7.0.0 && <0.8
, safe-exceptions >=0.1.7.0 && <1.3
, stm >=2.4 && <2.6
, text >=1.2.3.1 && <2.2
, time >=1.8.0.2 && <2
, unix >=2.7.2.2 && <2.9
, uuid >=1.3.0 && <1.4
default-language: Haskell2010