-
Notifications
You must be signed in to change notification settings - Fork 50
/
hw-kafka-client.cabal
136 lines (128 loc) · 4.79 KB
/
hw-kafka-client.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
cabal-version: 2.2
name: hw-kafka-client
version: 5.3.0
synopsis: Kafka bindings for Haskell
description: Apache Kafka bindings backed by the librdkafka C library.
.
Features include:
.
* Consumer groups: auto-rebalancing consumers
.
* Keyed and keyless messages producing/consuming
.
* Batch producing messages
category: Database
homepage: https://github.com/haskell-works/hw-kafka-client
bug-reports: https://github.com/haskell-works/hw-kafka-client/issues
author: Alexey Raga <[email protected]>
maintainer: Alexey Raga <[email protected]>
license: MIT
license-file: LICENSE
tested-with: GHC == 8.10.2, GHC == 8.8.3, GHC == 8.6.5, GHC == 8.4.4
build-type: Simple
extra-source-files: README.md
source-repository head
type: git
location: git://github.com/haskell-works/hw-kafka-client.git
flag examples
description: Also compile examples
manual: True
default: False
flag it
description: Run integration tests
manual: True
default: False
library
hs-source-dirs: src
ghc-options: -Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
extra-libraries: rdkafka
build-depends: base >=4.6 && <5
, bifunctors
, bytestring
, containers
, text
, transformers
, unix
build-tool-depends: c2hs:c2hs
if impl(ghc <8.0)
build-depends: semigroups
exposed-modules: Kafka.Consumer
Kafka.Consumer.ConsumerProperties
Kafka.Consumer.Subscription
Kafka.Consumer.Types
Kafka.Dump
Kafka.Metadata
Kafka.Producer
Kafka.Producer.ProducerProperties
Kafka.Producer.Types
Kafka.Transaction
Kafka.Types
other-modules: Kafka.Callbacks
Kafka.Consumer.Callbacks
Kafka.Consumer.Convert
Kafka.Internal.RdKafka
Kafka.Internal.Setup
Kafka.Internal.Shared
Kafka.Producer.Callbacks
Kafka.Producer.Convert
default-language: Haskell2010
executable kafka-client-example
main-is: Main.hs
hs-source-dirs: example
ghc-options: -threaded -rtsopts
build-depends: base >=4.6 && <5
, bytestring
, hw-kafka-client
, text
if !(flag(examples))
buildable: False
other-modules:
ConsumerExample
ProducerExample
default-language: Haskell2010
test-suite integration-tests
type: exitcode-stdio-1.0
ghc-options: -threaded -rtsopts -with-rtsopts=-N
main-is: Spec.hs
hs-source-dirs: tests-it
ghc-options: -Wall -threaded
build-depends: base >=4.6 && <5
, bifunctors
, bytestring
, containers
, either
, hspec
, hw-kafka-client
, monad-loops
, random
, text
, transformers
build-tool-depends: hspec-discover:hspec-discover
if !(flag(it))
buildable: False
other-modules: Kafka.IntegrationSpec
Kafka.TestEnv
default-language: Haskell2010
test-suite tests
type: exitcode-stdio-1.0
ghc-options: -threaded -rtsopts -with-rtsopts=-N
main-is: Spec.hs
hs-source-dirs: tests
ghc-options: -Wall -threaded
build-depends: base >=4.6 && <5
, bifunctors
, bytestring
, containers
, either
, hspec
, hw-kafka-client
, text
, monad-loops
build-tool-depends: hspec-discover:hspec-discover
other-modules: Kafka.Consumer.ConsumerRecordMapSpec
Kafka.Consumer.ConsumerRecordTraverseSpec
default-language: Haskell2010