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