public MockAdminClient(MockCluster cluster, string name)
 {
     this.cluster = cluster;
     Name         = name;
 }
示例#2
0
 public MockAdminClient(MockCluster cluster, string name)
 {
     Name = name;
 }
示例#3
0
 public MockProducer(MockCluster cluster, string name)
 {
     this.cluster = cluster;
     Name         = name;
 }
示例#4
0
 public MockKafkaSupplier(int defaultNumberPartitions = 1)
 {
     cluster = new MockCluster(defaultNumberPartitions);
 }
 public MockConsumer(MockCluster cluster, string groupId, string clientId)
 {
     this.cluster  = cluster;
     this.groupId  = groupId;
     this.clientId = clientId;
 }
示例#6
0
 public MockKafkaSupplier(int defaultNumberPartitions = 1, long waitBeforeRebalanceMs = 0)
 {
     cluster = new MockCluster(defaultNumberPartitions, waitBeforeRebalanceMs);
 }