internal TestInputTopic(IPipeInput pipe, IStreamConfig configuration, ISerDes <K> keySerdes, ISerDes <V> valueSerdes)
 {
     this.pipe          = pipe;
     this.configuration = configuration;
     this.keySerdes     = keySerdes;
     this.valueSerdes   = valueSerdes;
 }
예제 #2
0
        internal TestInputTopic(IPipeInput pipe, IStreamConfig configuration, ISerDes <K> keySerdes, ISerDes <V> valueSerdes)
        {
            this.pipe          = pipe;
            this.configuration = configuration;
            this.keySerdes     = keySerdes;
            this.valueSerdes   = valueSerdes;

            if (this.keySerdes != null)
            {
                this.keySerdes.Initialize(new SerDesContext(configuration));
            }
            if (this.valueSerdes != null)
            {
                this.valueSerdes.Initialize(new SerDesContext(configuration));
            }
        }