コード例 #1
0
 public void FetchFrom(KafkaReader reader)
 {
     MemberId   = reader.ReadString();
     ClientId   = reader.ReadString();
     ClientHost = reader.ReadString();
     //MemberMetadata   = reader.ReadBytes();
     //MemberAssignment = reader.ReadBytes();
     MemberMetadata = new JoinGroupMemberMetadata();
     MemberMetadata.FetchFrom(reader);
     MemberAssignment = new SyncGroupMemberAssignment();
     MemberAssignment.FetchFrom(reader);
 }
コード例 #2
0
 protected override void DeserializeContent(KafkaReader reader)
 {
     //Possible Error Codes:
     //* GROUP_COORDINATOR_NOT_AVAILABLE (15)
     //* NOT_COORDINATOR_FOR_GROUP (16)
     //* ILLEGAL_GENERATION (22)
     //* UNKNOWN_MEMBER_ID (25)
     //* REBALANCE_IN_PROGRESS (27)
     //* GROUP_AUTHORIZATION_FAILED (30)
     ErrorCode        = (ErrorCode)reader.ReadInt16();
     MemberAssignment = new SyncGroupMemberAssignment();
     MemberAssignment.FetchFrom(reader);
 }
コード例 #3
0
 public void FetchFrom(KafkaReader reader)
 {
     MemberId         = reader.ReadString();
     MemberAssignment = new SyncGroupMemberAssignment();
     MemberAssignment.FetchFrom(reader);
 }