@@ -712,10 +712,125 @@ public enum ErrorCode
712
712
/// </summary>
713
713
TopicDeletionDisabled = 73 ,
714
714
715
+ /// <summary>
716
+ /// Leader epoch is older than broker epoch.
717
+ /// </summary>
718
+ FencedLeaderEpoch = 74 ,
719
+
720
+ /// <summary>
721
+ /// Leader epoch is newer than broker epoch.
722
+ /// </summary>
723
+ UnknownLeaderEpoch = 75 ,
724
+
715
725
/// <summary>
716
726
/// Unsupported compression type.
717
727
/// </summary>
718
- UnsupportedCompressionType = 74
728
+ UnsupportedCompressionType = 76 ,
729
+
730
+ /// <summary>
731
+ /// Broker epoch has changed.
732
+ /// </summary>
733
+ StaleBrokerEpoch = 77 ,
734
+
735
+ /// <summary>
736
+ /// Leader high watermark is not caught up.
737
+ /// </summary>
738
+ OffsetNotAvailable = 78 ,
739
+
740
+ /// <summary>
741
+ /// Group member needs a valid member ID.
742
+ /// </summary>
743
+ MemberIdRequired = 79 ,
744
+
745
+ /// <summary>
746
+ /// Preferred leader was not available.
747
+ /// </summary>
748
+ PreferredLeaderNotAvailable = 80 ,
749
+
750
+ /// <summary>
751
+ /// Consumer group has reached maximum size.
752
+ /// </summary>
753
+ GroupMaxSizeReached = 81 ,
754
+
755
+ /// <summary>
756
+ /// Static consumer fenced by other consumer with same group.instance.id.
757
+ /// </summary>
758
+ FencedInstanceId = 82 ,
759
+
760
+ /// <summary>
761
+ /// Eligible partition leaders are not available.
762
+ /// </summary>
763
+ EligibleLeadersNotAvailable = 83 ,
764
+
765
+ /// <summary>
766
+ /// Leader election not needed for topic partition.
767
+ /// </summary>
768
+ ElectionNotNeeded = 84 ,
769
+
770
+ /// <summary>
771
+ /// No partition reassignment is in progress.
772
+ /// </summary>
773
+ NoReassignmentInProgress = 85 ,
774
+
775
+ /// <summary>
776
+ /// Deleting offsets of a topic while the consumer group is subscribed to it.
777
+ /// </summary>
778
+ GroupSubscribedToTopic = 86 ,
779
+
780
+ /// <summary>
781
+ /// Broker failed to validate record.
782
+ /// </summary>
783
+ InvalidRecord = 87 ,
784
+
785
+ /// <summary>
786
+ /// There are unstable offsets that need to be cleared.
787
+ /// </summary>
788
+ UnstableOffsetCommit = 88 ,
789
+
790
+ /// <summary>
791
+ /// Throttling quota has been exceeded.
792
+ /// </summary>
793
+ ThrottlingQuotaExceeded = 89 ,
794
+
795
+ /// <summary>
796
+ /// There is a newer producer with the same transactionalId which fences the current one.
797
+ /// </summary>
798
+ ProducerFenced = 90 ,
799
+
800
+ /// <summary>
801
+ /// Request illegally referred to resource that does not exist.
802
+ /// </summary>
803
+ ResourceNotFound = 91 ,
804
+
805
+ /// <summary>
806
+ /// Request illegally referred to the same resource twice.
807
+ /// </summary>
808
+ DuplicateResource = 92 ,
809
+
810
+ /// <summary>
811
+ /// Requested credential would not meet criteria for acceptability.
812
+ /// </summary>
813
+ UnacceptableCredential = 93 ,
814
+
815
+ /// <summary>
816
+ /// Indicates that the either the sender or recipient of a voter-only request is not one of the expected voters.
817
+ /// </summary>
818
+ InconsistentVoterSet = 94 ,
819
+
820
+ /// <summary>
821
+ /// Invalid update version.
822
+ /// </summary>
823
+ InvalidUpdateVersion = 95 ,
824
+
825
+ /// <summary>
826
+ /// Unable to update finalized features due to server error.
827
+ /// </summary>
828
+ FeatureUpdateFailed = 96 ,
829
+
830
+ /// <summary>
831
+ /// Request principal deserialization failed during forwarding.
832
+ /// </summary>
833
+ PrincipalDeserializationFailure = 97
719
834
} ;
720
835
721
836
/// <summary>
0 commit comments