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); }
public void FetchFrom(KafkaReader reader) { Protocol = reader.ReadString(); MemberMetadata = new JoinGroupMemberMetadata(); MemberMetadata.FetchFrom(reader); }