コード例 #1
0
 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);
 }
コード例 #5
0
 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);
 }