예제 #1
0
 public Member(string memberId, string clientId, string clientHost, IMemberMetadata memberMetadata, IMemberAssignment memberAssignment)
 {
     MemberId         = memberId;
     ClientId         = clientId;
     ClientHost       = clientHost;
     MemberMetadata   = memberMetadata;
     MemberAssignment = memberAssignment;
 }
예제 #2
0
 public Member(string memberId, string clientId, string clientHost, IMemberMetadata memberMetadata, IMemberAssignment memberAssignment)
 {
     member_id         = memberId;
     client_id         = clientId;
     client_host       = clientHost;
     member_metadata   = memberMetadata;
     member_assignment = memberAssignment;
 }
예제 #3
0
 public GroupProtocol(IMemberMetadata metadata)
 {
     protocol_metadata = metadata;
 }
예제 #4
0
 public static Task <IGroupConsumer> CreateGroupConsumerAsync(this IRouter router, string groupId, string protocolType, IMemberMetadata metadata, IConsumerConfiguration configuration, IImmutableDictionary <string, IMembershipEncoder> encoders, CancellationToken cancellationToken)
 {
     return(router.CreateGroupConsumerAsync(groupId, protocolType, new[] { metadata }, configuration, encoders, cancellationToken));
 }
예제 #5
0
 /// <inheritdoc />
 public void EncodeMetadata(IKafkaWriter writer, IMemberMetadata value)
 {
     using (writer.MarkForLength()) {
         EncodeMetadata(writer, (TMetadata)value);
     }
 }
 public Member(string memberId, IMemberMetadata metadata)
 {
     member_id       = memberId;
     member_metadata = metadata;
 }
예제 #7
0
 public static IKafkaWriter Write(this IKafkaWriter writer, IMemberMetadata metadata, IProtocolTypeEncoder encoder)
 {
     encoder.EncodeMetadata(writer, metadata);
     return(writer);
 }
예제 #8
0
 public GroupProtocol(string name, IMemberMetadata metadata)
 {
     Name     = name;
     Metadata = metadata;
 }
예제 #9
0
 public Member(string memberId, IMemberMetadata metadata)
 {
     MemberId = memberId;
     Metadata = metadata;
 }
예제 #10
0
 /// <inheritdoc />
 public void EncodeMetadata(IKafkaWriter writer, IMemberMetadata value)
 {
     EncodeMetadata(writer, (TMetadata)value);
 }