Skip to content

Commit 755cac0

Browse files
authored
Add title and description for FencedInstanceID (#1370)
1 parent f72adcc commit 755cac0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

error.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ func (e Error) Title() string {
329329
return "Unsupported Compression Type"
330330
case MemberIDRequired:
331331
return "Member ID Required"
332+
case FencedInstanceID:
333+
return "Fenced Instance ID"
332334
case EligibleLeadersNotAvailable:
333335
return "Eligible Leader Not Available"
334336
case ElectionNotNeeded:
@@ -538,6 +540,8 @@ func (e Error) Description() string {
538540
return "the requesting client does not support the compression type of given partition"
539541
case MemberIDRequired:
540542
return "the group member needs to have a valid member id before actually entering a consumer group"
543+
case FencedInstanceID:
544+
return "the broker rejected this static consumer since another consumer with the same group.instance.id has registered with a different member.id"
541545
case EligibleLeadersNotAvailable:
542546
return "eligible topic partition leaders are not available"
543547
case ElectionNotNeeded:

0 commit comments

Comments
 (0)