public MockAdminClient(MockCluster cluster, string name)
 {
     this.cluster = cluster;
     Name         = name;
 }
Beispiel #2
0
 public MockAdminClient(MockCluster cluster, string name)
 {
     Name = name;
 }
Beispiel #3
0
 public MockProducer(MockCluster cluster, string name)
 {
     this.cluster = cluster;
     Name         = name;
 }
Beispiel #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;
 }
Beispiel #6
0
 public MockKafkaSupplier(int defaultNumberPartitions = 1, long waitBeforeRebalanceMs = 0)
 {
     cluster = new MockCluster(defaultNumberPartitions, waitBeforeRebalanceMs);
 }