예제 #1
0
 public IConsumerWrapper Create()
 {
     return(FakeConsumerWrapper.New(new KafkaConsumerConfig()).Subscribe(new List <string>()
     {
         "dummy"
     }).WithPoolingTimeout(1000));;
 }
예제 #2
0
        public static FakeConsumerWrapper New(KafkaConsumerConfig config)
        {
            FakeConsumerWrapper cw = new FakeConsumerWrapper(config);

            return(cw);
        }