confluent-kafka-dotnet
Show / Hide Table of Contents

Enum ErrorCode

Enumeration of local and broker generated error codes.

Namespace: Confluent.Kafka
Assembly: cs.temp.dll.dll
Syntax
public enum ErrorCode
Remarks

Error codes that relate to locally produced errors in librdkafka are prefixed with Local_

Fields

Name Description
BrokerNotAvailable

Broker not available

ClusterAuthorizationFailed

Cluster authorization failed

ConcurrentTransactions

Producer attempted to update a transaction while another concurrent operation on the same transaction was ongoing

DelegationTokenAuthDisabled

Delegation Token feature is not enabled.

DelegationTokenAuthorizationFailed

Delegation Token authorization failed.

DelegationTokenExpired

Delegation Token is expired.

DelegationTokenNotFound

Delegation Token is not found on server.

DelegationTokenOwnerMismatch

Specified Principal is not valid Owner/Renewer.

DelegationTokenRequestNotAllowed

Delegation Token requests are not allowed on this connection.

DuplicateSequenceNumber

Broker received a duplicate sequence number

FetchSessionIdNotFound

The fetch session ID was not found.

GroupAuthorizationFailed

Group authorization failed

GroupCoordinatorNotAvailable

Group coordinator not available

GroupIdNotFound

The group id does not exist.

GroupLoadInProress

Group coordinator load in progress

IllegalGeneration

Specified group generation id is not valid

IllegalSaslState

Illegal SASL state

InconsistentGroupProtocol

Inconsistent group protocol

InvalidCommitOffsetSize

Commit offset data size is not valid

InvalidConfig

Invalid config

InvalidFetchSessionEpoch

The fetch session epoch is invalid.

InvalidGroupId

Invalid group.id

InvalidMsg

Invalid message

InvalidMsgSize

Invalid message size

InvalidPartitions

Invalid number of partitions

InvalidPrincipalType

Supplied principalType is not supported.

InvalidProducerEpoch

Producer attempted an operation with an old epoch

InvalidProducerIdMapping

Producer attempted to use a producer id which is not currently assigned to its transactional id

InvalidReplicaAssignment

Invalid replica assignment

InvalidReplicationFactor

Invalid replication factor

InvalidRequest

Invalid request

InvalidRequiredAcks

Invalid required acks value

InvalidSessionTimeout

Invalid session timeout

InvalidTimestamp

Invalid timestamp

InvalidTransactionTimeout

Transaction timeout is larger than the maximum value allowed by the broker's max.transaction.timeout.ms

InvalidTxnState

Producer attempted a transactional operation in an invalid state

KafkaStorageError

Disk error when trying to access log file on the disk.

LeaderNotAvailable

Leader not available

ListenerNotFound

No matching listener.

Local_AllBrokersDown

All broker connections are down.

Local_Application

Application generated exception.

Local_AssignPartitions

Assigned partitions (rebalance_cb)

Local_Authentication

Authentication failure

Local_BadCompression

Bad/unknown compression

Local_BadMsg

Received message is incorrect

Local_Conflict

Conflicting use

Local_CritSysResource

Critical system resource

Local_Destroy

Broker is going away

Local_ExistingSubscription

This operation would interfere with an existing subscription

Local_Fail

Generic failure

Local_Fatal

Fatal error: see rd_kafka_fatal_error()

Local_Fenced

Instance has been fenced

Local_FS

File or filesystem error

Local_GaplessGuarantee

Gap-less ordering would not be guaranteed if proceeding

Local_Inconsistent

Inconsistent state

Local_InProgress

Operation in progress

Local_Intr

Operation interrupted

Local_InvalidArg

Invalid argument, or invalid configuration

Local_InvalidType

Invalid type

Local_IsrInsuff

ISR count < required.acks

Local_KeyDeserialization

Key deserialization error

Local_KeySerialization

Key serialization error

Local_MaxPollExceeded

Maximum poll interval exceeded

Local_MsgTimedOut

Produced message timed out

Local_NodeUpdate

Broker node update

Local_NoEnt

No such entry / item not found

Local_NoOffset

No stored offset

Local_NotConfigured

Functionality not configured

Local_NotImplemented

Not implemented

Local_Outdated

Outdated

Local_Partial

Partial response

Local_PartitionEOF

Reached the end of the topic+partition queue on the broker. Not really an error.

Local_PrevInProgress

Previous operation in progress, wait for it to finish.

Local_PurgeInflight

Purged in flight

Local_PurgeQueue

Purged in queue

Local_QueueFull

Queue is full

Local_ReadOnly

Modification attempted on read-only object

Local_Resolve

Failed to resolve broker

Local_Retry

Retry operation.

Local_RevokePartitions

Revoked partitions (rebalance_cb)

Local_Ssl

SSL error

Local_State

Wrong state

Local_TimedOut

Operation timed out

Local_TimedOutQueue

Timed out in queue

Local_Transport

Broker transport failure

Local_Underflow

Read underflow

Local_UnknownBroker

Unknown broker

Local_UnknownGroup

Unknown client group

Local_UnknownPartition

Permanent: Partition does not exist in cluster.

Local_UnknownProtocol

Unknown protocol

Local_UnknownTopic

Permanent: Topic does not exist in cluster.

Local_UnsupportedFeature

Feature not supported by broker

Local_ValueDeserialization

Value deserialization error

Local_ValueSerialization

Value serialization error

Local_WaitCache

Awaiting cache update

Local_WaitCoord

Waiting for coordinator to become available.

LogDirNotFound

The user-specified log directory is not found in the broker config.

MsgSizeTooLarge

Message size too large

NetworkException

Broker disconnected before response received

NoError

Success

NonEmptyGroup

The group is not empty.

NotController

Not controller for cluster

NotCoordinatorForGroup

Not coordinator for group

NotEnoughReplicas

Not enough in-sync replicas

NotEnoughReplicasAfterAppend

Message(s) written to insufficient number of in-sync replicas

NotLeaderForPartition

Not leader for partition

OffsetMetadataTooLarge

Offset metadata string too large

OffsetOutOfRange

Offset out of range

OperationNotAttempted

Operation not attempted

OutOfOrderSequenceNumber

Broker received an out of order sequence number

PolicyViolation

Isolation policy violation

ReassignmentInProgress

Partition reassignment is in progress.

RebalanceInProgress

Group rebalance in progress

RecordListTooLarge

Message batch larger than configured server segment size

ReplicaNotAvailable

Replica not available

RequestTimedOut

Request timed out

SaslAuthenticationFailed

SASL Authentication failed.

SecurityDisabled

Security features are disabled

StaleCtrlEpoch

StaleControllerEpochCode

TopicAlreadyExists

Topic already exists

TopicAuthorizationFailed

Topic authorization failed

TopicDeletionDisabled

Topic deletion is disabled.

TopicException

Invalid topic

TransactionalIdAuthorizationFailed

Transactional Id authorization failed

TransactionCoordinatorFenced

Indicates that the transaction coordinator sending a WriteTxnMarker is no longer the current coordinator for a given producer

Unknown

Unknown broker error

UnknownMemberId

Unknown member

UnknownProducerId

Unknown Producer Id.

UnknownTopicOrPart

Unknown topic or partition

UnsupportedCompressionType

Unsupported compression type.

UnsupportedForMessageFormat

Message format on broker does not support request

UnsupportedSaslMechanism

Unsupported SASL mechanism

UnsupportedVersion

Unsupported version