private void DoTo(ITopicNameExtractor <K, V> topicExtractor, Produced <K, V> produced)
        {
            string name = new Named(produced.Named).OrElseGenerateWithPrefix(this.builder, SINK_NAME);

            StreamSinkNode <K, V> sinkNode = new StreamSinkNode <K, V>(topicExtractor, name, produced);

            this.builder.AddGraphNode(node, sinkNode);
        }
 public void To <KS, VS>(ITopicNameExtractor <K, V> topicExtractor, string named = null)
     where KS : ISerDes <K>, new()
     where VS : ISerDes <V>, new()
 => DoTo(topicExtractor, Produced <K, V> .Create <KS, VS>().WithName(named));
 public void To(ITopicNameExtractor <K, V> topicExtractor, string named = null) => DoTo(topicExtractor, Produced <K, V> .Create(keySerdes, valueSerdes).WithName(named));