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); }
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); }
public void FetchFrom(KafkaReader reader) { MemberId = reader.ReadString(); MemberAssignment = new SyncGroupMemberAssignment(); MemberAssignment.FetchFrom(reader); }