conduktor.io ↗

Kafka Error Codes — 134 Error Codes Explained

CodeCategoryNameDescriptionRetriable
-1BrokerUNKNOWN_SERVER_ERRORThe server experienced an unexpected error when processing the request.
1ConsumerOFFSET_OUT_OF_RANGEThe requested offset is not within the range of offsets maintained by the server.
2BrokerCORRUPT_MESSAGEThis message has failed its CRC checksum, exceeds the valid size, has a null key for a compacted topic, or is otherwise corrupt.
3BrokerUNKNOWN_TOPIC_OR_PARTITIONThis server does not host this topic-partition.
4ConsumerINVALID_FETCH_SIZEThe requested fetch size is invalid.
5BrokerLEADER_NOT_AVAILABLEThere is no leader for this topic-partition as we are in the middle of a leadership election.
6BrokerNOT_LEADER_OR_FOLLOWERFor requests intended only for the leader, this error indicates that the broker is not the current leader. For requests intended for any replica, this error indicates that the broker is not a replica of the topic partition.
7BrokerREQUEST_TIMED_OUTThe request timed out.
8BrokerBROKER_NOT_AVAILABLEThe broker is not available.
9BrokerREPLICA_NOT_AVAILABLEThe replica is not available for the requested topic-partition. Produce/Fetch requests and other requests intended only for the leader or follower return NOT_LEADER_OR_FOLLOWER if the broker is not a replica of the topic-partition.
10ProducerMESSAGE_TOO_LARGEThe request included a message larger than the max message size the server will accept.
11BrokerSTALE_CONTROLLER_EPOCHThe controller moved to another broker.
12ConsumerOFFSET_METADATA_TOO_LARGEThe metadata field of the offset request was too large.
13BrokerNETWORK_EXCEPTIONThe server disconnected before a response was received.
14ConsumerCOORDINATOR_LOAD_IN_PROGRESSThe coordinator is loading and hence can't process requests.
15ConsumerCOORDINATOR_NOT_AVAILABLEThe coordinator is not available.
16ConsumerNOT_COORDINATORThis is not the correct coordinator.
17AdminINVALID_TOPIC_EXCEPTIONThe request attempted to perform an operation on an invalid topic.
18ProducerRECORD_LIST_TOO_LARGEThe request included message batch larger than the configured segment size on the server.
19BrokerNOT_ENOUGH_REPLICASMessages are rejected since there are fewer in-sync replicas than required.
20BrokerNOT_ENOUGH_REPLICAS_AFTER_APPENDMessages are written to the log, but to fewer in-sync replicas than required.
21ProducerINVALID_REQUIRED_ACKSProduce request specified an invalid value for required acks.
22ConsumerILLEGAL_GENERATIONSpecified group generation id is not valid.
23ConsumerINCONSISTENT_GROUP_PROTOCOLThe group member's supported protocols are incompatible with those of existing members or first group member tried to join with empty protocol type or empty protocol list.
24ConsumerINVALID_GROUP_IDThe group id is invalid.
25ConsumerUNKNOWN_MEMBER_IDThe coordinator is not aware of this member.
26ConsumerINVALID_SESSION_TIMEOUTThe session timeout is not within the range allowed by the broker (as configured by group.min.session.timeout.ms and group.max.session.timeout.ms).
27ConsumerREBALANCE_IN_PROGRESSThe group is rebalancing, so a rejoin is needed.
28ConsumerINVALID_COMMIT_OFFSET_SIZEThe committing offset data size is not valid.
29SecurityTOPIC_AUTHORIZATION_FAILEDTopic authorization failed.
30SecurityGROUP_AUTHORIZATION_FAILEDGroup authorization failed.
31SecurityCLUSTER_AUTHORIZATION_FAILEDCluster authorization failed.
32ProducerINVALID_TIMESTAMPThe timestamp of the message is out of acceptable range.
33SecurityUNSUPPORTED_SASL_MECHANISMThe broker does not support the requested SASL mechanism.
34SecurityILLEGAL_SASL_STATERequest is not valid given the current SASL state.
35AdminUNSUPPORTED_VERSIONThe version of API is not supported.
36AdminTOPIC_ALREADY_EXISTSTopic with this name already exists.
37AdminINVALID_PARTITIONSNumber of partitions is below 1.
38AdminINVALID_REPLICATION_FACTORReplication factor is below 1 or larger than the number of available brokers.
39AdminINVALID_REPLICA_ASSIGNMENTReplica assignment is invalid.
40AdminINVALID_CONFIGConfiguration is invalid.
41BrokerNOT_CONTROLLERThis is not the correct controller for this cluster.
42AdminINVALID_REQUESTThis most likely occurs because of a request being malformed by the client library or the message was sent to an incompatible broker. See the broker logs for more details.
43ProducerUNSUPPORTED_FOR_MESSAGE_FORMATThe message format version on the broker does not support the request.
44AdminPOLICY_VIOLATIONRequest parameters do not satisfy the configured policy.
45ProducerOUT_OF_ORDER_SEQUENCE_NUMBERThe broker received an out of order sequence number.
46ProducerDUPLICATE_SEQUENCE_NUMBERThe broker received a duplicate sequence number.
47ProducerINVALID_PRODUCER_EPOCHProducer attempted to produce with an old epoch.
48TransactionsINVALID_TXN_STATEThe producer attempted a transactional operation in an invalid state.
49ProducerINVALID_PRODUCER_ID_MAPPINGThe producer attempted to use a producer id which is not currently assigned to its transactional id.
50TransactionsINVALID_TRANSACTION_TIMEOUTThe transaction timeout is larger than the maximum value allowed by the broker (as configured by transaction.max.timeout.ms).
51TransactionsCONCURRENT_TRANSACTIONSThe producer attempted to update a transaction while another concurrent operation on the same transaction was ongoing.
52TransactionsTRANSACTION_COORDINATOR_FENCEDIndicates that the transaction coordinator sending a WriteTxnMarker is no longer the current coordinator for a given producer.
53TransactionsTRANSACTIONAL_ID_AUTHORIZATION_FAILEDTransactional Id authorization failed.
54SecuritySECURITY_DISABLEDSecurity features are disabled.
55TransactionsOPERATION_NOT_ATTEMPTEDThe broker did not attempt to execute this operation. This may happen for batched RPCs where some operations in the batch failed, causing the broker to respond without trying the rest.
56BrokerKAFKA_STORAGE_ERRORDisk error when trying to access log file on the disk.
57BrokerLOG_DIR_NOT_FOUNDThe user-specified log directory is not found in the broker config.
58SecuritySASL_AUTHENTICATION_FAILEDSASL Authentication failed.
59ProducerUNKNOWN_PRODUCER_IDThis exception is raised by the broker if it could not locate the producer metadata associated with the producerId in question. This could happen if, for instance, the producer's records were deleted because their retention time had elapsed. Once the last records of the producerId are removed, the producer's metadata is removed from the broker, and future appends by the producer will return this exception.
60AdminREASSIGNMENT_IN_PROGRESSA partition reassignment is in progress.
61SecurityDELEGATION_TOKEN_AUTH_DISABLEDDelegation Token feature is not enabled.
62SecurityDELEGATION_TOKEN_NOT_FOUNDDelegation Token is not found on server.
63SecurityDELEGATION_TOKEN_OWNER_MISMATCHSpecified Principal is not valid Owner/Renewer.
64SecurityDELEGATION_TOKEN_REQUEST_NOT_ALLOWEDDelegation Token requests are not allowed on PLAINTEXT/1-way SSL channels and on delegation token authenticated channels.
65SecurityDELEGATION_TOKEN_AUTHORIZATION_FAILEDDelegation Token authorization failed.
66SecurityDELEGATION_TOKEN_EXPIREDDelegation Token is expired.
67SecurityINVALID_PRINCIPAL_TYPESupplied principalType is not supported.
68ConsumerNON_EMPTY_GROUPThe group is not empty.
69ConsumerGROUP_ID_NOT_FOUNDThe group id does not exist.
70ConsumerFETCH_SESSION_ID_NOT_FOUNDThe fetch session ID was not found.
71ConsumerINVALID_FETCH_SESSION_EPOCHThe fetch session epoch is invalid.
72BrokerLISTENER_NOT_FOUNDThere is no listener on the leader broker that matches the listener on which metadata request was processed.
73AdminTOPIC_DELETION_DISABLEDTopic deletion is disabled.
74BrokerFENCED_LEADER_EPOCHThe leader epoch in the request is older than the epoch on the broker.
75BrokerUNKNOWN_LEADER_EPOCHThe leader epoch in the request is newer than the epoch on the broker.
76ProducerUNSUPPORTED_COMPRESSION_TYPEThe requesting client does not support the compression type of given partition.
77BrokerSTALE_BROKER_EPOCHBroker epoch has changed.
78BrokerOFFSET_NOT_AVAILABLEThe leader high watermark has not caught up from a recent leader election so the offsets cannot be guaranteed to be monotonically increasing.
79ConsumerMEMBER_ID_REQUIREDThe group member needs to have a valid member id before actually entering a consumer group.
80BrokerPREFERRED_LEADER_NOT_AVAILABLEThe preferred leader was not available.
81ConsumerGROUP_MAX_SIZE_REACHEDThe group has reached its maximum size.
82ConsumerFENCED_INSTANCE_IDThe broker rejected this static consumer since another consumer with the same group.instance.id has registered with a different member.id.
83BrokerELIGIBLE_LEADERS_NOT_AVAILABLEEligible topic partition leaders are not available.
84BrokerELECTION_NOT_NEEDEDLeader election not needed for topic partition.
85AdminNO_REASSIGNMENT_IN_PROGRESSNo partition reassignment is in progress.
86ConsumerGROUP_SUBSCRIBED_TO_TOPICDeleting offsets of a topic is forbidden while the consumer group is actively subscribed to it.
87ProducerINVALID_RECORDThis record has failed the validation on broker and hence will be rejected.
88ConsumerUNSTABLE_OFFSET_COMMITThere are unstable offsets that need to be cleared.
89AdminTHROTTLING_QUOTA_EXCEEDEDThe throttling quota has been exceeded.
90TransactionsPRODUCER_FENCEDThere is a newer producer with the same transactionalId which fences the current one.
91AdminRESOURCE_NOT_FOUNDA request illegally referred to a resource that does not exist.
92AdminDUPLICATE_RESOURCEA request illegally referred to the same resource twice.
93SecurityUNACCEPTABLE_CREDENTIALRequested credential would not meet criteria for acceptability.
94KRaftINCONSISTENT_VOTER_SETIndicates that the either the sender or recipient of a voter-only request is not one of the expected voters.
95AdminINVALID_UPDATE_VERSIONThe given update version was invalid.
96AdminFEATURE_UPDATE_FAILEDUnable to update finalized features due to an unexpected server error.
97SecurityPRINCIPAL_DESERIALIZATION_FAILURERequest principal deserialization failed during forwarding. This indicates an internal error on the broker cluster security setup.
98AdminSNAPSHOT_NOT_FOUNDRequested snapshot was not found.
99AdminPOSITION_OUT_OF_RANGERequested position is not greater than or equal to zero, and less than the size of the snapshot.
100BrokerUNKNOWN_TOPIC_IDThis server does not host this topic ID.
101BrokerDUPLICATE_BROKER_REGISTRATIONThis broker ID is already in use.
102BrokerBROKER_ID_NOT_REGISTEREDThe given broker ID was not registered.
103BrokerINCONSISTENT_TOPIC_IDThe log's topic ID did not match the topic ID in the request.
104BrokerINCONSISTENT_CLUSTER_IDThe clusterId in the request does not match that found on the server.
105TransactionsTRANSACTIONAL_ID_NOT_FOUNDThe transactionalId could not be found.
106ConsumerFETCH_SESSION_TOPIC_ID_ERRORThe fetch session encountered inconsistent topic ID usage.
107BrokerINELIGIBLE_REPLICAThe new ISR contains at least one ineligible replica.
108BrokerNEW_LEADER_ELECTEDThe AlterPartition request successfully updated the partition state but the leader has changed.
109ConsumerOFFSET_MOVED_TO_TIERED_STORAGEThe requested offset is moved to tiered storage.
110ConsumerFENCED_MEMBER_EPOCHThe member epoch is fenced by the group coordinator. The member must abandon all its partitions and rejoin.
111ConsumerUNRELEASED_INSTANCE_IDThe instance ID is still used by another member in the consumer group. That member must leave first.
112ConsumerUNSUPPORTED_ASSIGNORThe assignor or its version range is not supported by the consumer group.
113ConsumerSTALE_MEMBER_EPOCHThe member epoch is stale. The member must retry after receiving its updated member epoch via the ConsumerGroupHeartbeat API.
114KRaftMISMATCHED_ENDPOINT_TYPEThe request was sent to an endpoint of the wrong type.
115KRaftUNSUPPORTED_ENDPOINT_TYPEThis endpoint type is not supported yet.
116KRaftUNKNOWN_CONTROLLER_IDThis controller ID is not known.
117TelemetryUNKNOWN_SUBSCRIPTION_IDClient sent a push telemetry request with an invalid or outdated subscription ID.
118TelemetryTELEMETRY_TOO_LARGEClient sent a push telemetry request larger than the maximum size the broker will accept.
119KRaftINVALID_REGISTRATIONThe controller has considered the broker registration to be invalid.
120TransactionsTRANSACTION_ABORTABLEThe server encountered an error with the transaction. The client can abort the transaction to continue using this transactional ID.
121ProducerINVALID_RECORD_STATEThe record state is invalid. The acknowledgement of delivery could not be completed.
122Share GroupsSHARE_SESSION_NOT_FOUNDThe share session was not found.
123Share GroupsINVALID_SHARE_SESSION_EPOCHThe share session epoch is invalid.
124Share GroupsFENCED_STATE_EPOCHThe share coordinator rejected the request because the share-group state epoch did not match.
125KRaftINVALID_VOTER_KEYThe voter key doesn't match the receiving replica's key.
126KRaftDUPLICATE_VOTERThe voter is already part of the set of voters.
127KRaftVOTER_NOT_FOUNDThe voter is not part of the set of voters.
128KRaftINVALID_REGULAR_EXPRESSIONThe regular expression is not valid.
129KRaftREBOOTSTRAP_REQUIREDClient metadata is stale. The client should rebootstrap to obtain new metadata.
130StreamsSTREAMS_INVALID_TOPOLOGYThe supplied topology is invalid.
131StreamsSTREAMS_INVALID_TOPOLOGY_EPOCHThe supplied topology epoch is invalid.
132StreamsSTREAMS_TOPOLOGY_FENCEDThe supplied topology epoch is outdated.
133Share GroupsSHARE_SESSION_LIMIT_REACHEDThe limit of share sessions has been reached.