/// <summary> /// Create <see cref="TestInputTopic{K, V}"/> to be used for piping records to topic /// </summary> /// <typeparam name="K">key type</typeparam> /// <typeparam name="V">value type</typeparam> /// <param name="keySerdes">Key serializer</param> /// <param name="valueSerdes">Value serializer</param> /// <param name="topicName">the name of the topic</param> /// <returns><see cref="TestInputTopic{K, V}"/> instance</returns> public TestInputTopic <K, V> CreateInputTopic <K, V>(string topicName, ISerDes <K> keySerdes, ISerDes <V> valueSerdes) { var pipe = pipeBuilder.Input(topicName, this.topicConfiguration); inputs.Add(topicName, pipe); return(new TestInputTopic <K, V>(pipe, this.topicConfiguration, keySerdes, valueSerdes)); }