Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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
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.
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 #