| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Kafka.Types
- newtype BrokerId = BrokerId Int
- newtype PartitionId = PartitionId Int
- newtype Millis = Millis Int64
- newtype ClientId = ClientId String
- newtype TopicName = TopicName String
- newtype BrokerAddress = BrokerAddress String
- newtype Timeout = Timeout Int
- data KafkaLogLevel
- data KafkaError
- data KafkaDebug
- kafkaDebugToString :: KafkaDebug -> String
- data KafkaCompressionCodec
- = NoCompression
- | Gzip
- | Snappy
- | Lz4
- kafkaCompressionCodecToString :: KafkaCompressionCodec -> String
Documentation
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.
newtype BrokerAddress Source #
Kafka broker address string (e.g. broker1:9092)
Constructors
| BrokerAddress String |
Instances
Timeout in milliseconds
data KafkaLogLevel Source #
Log levels for librdkafka.
Constructors
| KafkaLogEmerg | |
| KafkaLogAlert | |
| KafkaLogCrit | |
| KafkaLogErr | |
| KafkaLogWarning | |
| KafkaLogNotice | |
| KafkaLogInfo | |
| KafkaLogDebug |
Instances
data KafkaError Source #
Any Kafka errors
Constructors
Instances
data KafkaDebug Source #
Constructors
| DebugGeneric | |
| DebugBroker | |
| DebugTopic | |
| DebugMetadata | |
| DebugQueue | |
| DebugMsg | |
| DebugProtocol | |
| DebugCgrp | |
| DebugSecurity | |
| DebugFetch | |
| DebugFeature | |
| DebugAll |
Instances