You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/kerr/kerr.go
+16-1
Original file line number
Diff line number
Diff line change
@@ -183,6 +183,13 @@ var (
183
183
IneligibleReplica=&Error{"INELIGIBLE_REPLICA", 107, false, "The new ISR contains at least one ineligible replica."}
184
184
NewLeaderElected=&Error{"NEW_LEADER_ELECTED", 108, false, "The AlterPartition request successfully updated the partition state but the leader has changed."}
185
185
OffsetMovedToTieredStorage=&Error{"OFFSET_MOVED_TO_TIERED_STORAGE", 109, false, "The requested offset is moved to tiered storage."}
186
+
FencedMemberEpoch=&Error{"FENCED_MEMBER_EPOCH", 110, false, "The member epoch is fenced by the group coordinator. The member must abandon all its partitions and rejoin."}
187
+
UnreleasedInstanceID=&Error{"UNRELEASED_INSTANCE_ID", 111, false, "The instance ID is still used by another member in the consumer group. That member must leave first."}
188
+
UnsupportedAssignor=&Error{"UNSUPPORTED_ASSIGNOR", 112, false, "The assignor or its version range is not supported by the consumer group."}
189
+
StaleMemberEpoch=&Error{"STALE_MEMBER_EPOCH", 113, false, "The member epoch is stale. The member must retry after receiving its updated member epoch via the ConsumerGroupHeartbeat API."}
190
+
MismatchedEndpointType=&Error{"MISMATCHED_ENDPOINT_TYPE", 114, false, "The request was sent to an endpoint of the wrong type."}
191
+
UnsupportedEndpointType=&Error{"UNSUPPORTED_ENDPOINT_TYPE", 115, false, "This endpoint type is not supported yet."}
192
+
UnknownControllerID=&Error{"UNKNOWN_CONTROLLER_ID", 116, false, "This controller ID is not known"}
186
193
)
187
194
188
195
varcode2err=map[int16]error{
@@ -296,5 +303,13 @@ var code2err = map[int16]error{
296
303
106: FetchSessionTopicIDError,
297
304
107: IneligibleReplica,
298
305
108: NewLeaderElected,
299
-
109: OffsetMovedToTieredStorage,
306
+
109: OffsetMovedToTieredStorage, // KIP-405, v3.5
307
+
110: FencedMemberEpoch, // KIP-848, released unstable in v3.6, stable in 3.7
0 commit comments