Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Kafka.Parser.Context
Synopsis
- data Context
- data ContextualizedErrorCode = ContextualizedErrorCode {}
- data Field
- = AbortedTransactions
- | ApiKey
- | ApiKeys
- | AssignedPartitions
- | Assignment
- | Attributes
- | AuthorizedOperations
- | BaseOffset
- | BaseSequence
- | BaseTimestamp
- | BatchLength
- | BatchLengthLeftoverBytes
- | BatchLengthNegative
- | BatchLengthNotEnoughBytes
- | Brokers
- | ClusterId
- | CommittedLeaderEpoch
- | CommittedOffset
- | ControllerId
- | Coordinators
- | CorrelationId
- | Crc
- | CrcMismatch
- | ErrorCode
- | ErrorMessage
- | Errors
- | GenerationId
- | GroupInstanceId
- | Groups
- | HighWatermark
- | Host
- | Id
- | Internal
- | IsrNodes
- | Ix
- | Key
- | LastOffsetDelta
- | LastStableOffset
- | Leader
- | LeaderEpoch
- | LeaderId
- | LogAppendTimeMilliseconds
- | LogStartOffset
- | Magic
- | MaxTimestamp
- | MaxVersion
- | MemberId
- | Members
- | Message
- | Metadata
- | MinVersion
- | Name
- | NodeId
- | OfflineReplicas
- | Offset
- | OwnedPartitions
- | PartitionLeaderEpoch
- | Partitions
- | Port
- | PreferredReadReplica
- | ProducerEpoch
- | ProducerId
- | ProtocolName
- | ProtocolType
- | Rack
- | RecordBatch
- | RecordBatchLeftoverBytes
- | RecordBatchLength
- | RecordBatchNotEnoughBytes
- | RecordsCount
- | ReplicaNodes
- | SessionId
- | SkipAssignment
- | TagBuffer
- | TaggedFieldContents
- | TaggedFieldLength
- | TaggedFieldTag
- | ThrottleTimeMilliseconds
- | Timestamp
- | Topic
- | Topics
- | UserData
- | Version
- encodeContextString :: Context -> String
Documentation
data ContextualizedErrorCode Source #
Constructors
ContextualizedErrorCode | |
This exists so that we can get better error messages when decoding fails.
Constructors
encodeContextString :: Context -> String Source #