Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype BrokerId = BrokerId {
- unBrokerId :: Int
- newtype PartitionId = PartitionId {
- unPartitionId :: Int
- newtype Millis = Millis {}
- newtype ClientId = ClientId {
- unClientId :: String
- newtype BatchSize = BatchSize {
- unBatchSize :: Int
- newtype TopicName = TopicName {}
- newtype BrokerAddress = BrokerAddress {}
- newtype Timeout = Timeout {}
- data KafkaLogLevel
- data KafkaError
- data KafkaDebug
- kafkaDebugToString :: KafkaDebug -> String
- data KafkaCompressionCodec
- = NoCompression
- | Gzip
- | Snappy
- | Lz4
- kafkaCompressionCodecToString :: KafkaCompressionCodec -> String
Documentation
newtype PartitionId Source #
Topic name to be consumed
Wildcard (regex) topics are supported by the librdkafka assignor:
any topic name in the topics list that is prefixed with ^
will
be regex-matched to the full list of topics in the cluster and matching
topics will be added to the subscription list.
TopicName | a simple topic name or a regex if started with |
newtype BrokerAddress Source #
Kafka broker address string (e.g. broker1:9092
)
Timeout in milliseconds
data KafkaLogLevel Source #
Log levels for librdkafka.
data KafkaError Source #
Any Kafka errors
data KafkaDebug Source #
data KafkaCompressionCodec Source #