internal KafkaMessageStream(string topic, BlockingCollection <FetchedDataChunk> queue, int consumerTimeoutMs, IDecoder <TData> decoder, CancellationToken token) { this.topic = topic; this.consumerTimeoutMs = consumerTimeoutMs; this.queue = queue; this.decoder = decoder; this.iterator = new ConsumerIterator <TData>(topic, queue, consumerTimeoutMs, decoder, token); }
internal KafkaMessageStream(string topic, BlockingCollection <FetchedDataChunk> queue, int consumerTimeoutMs, IDecoder <TData> decoder) { this.topic = topic; this.consumerTimeoutMs = consumerTimeoutMs; this.queue = queue; this.decoder = decoder; iterator = new ConsumerIterator <TData>(this.topic, this.queue, this.consumerTimeoutMs, this.decoder); }
internal KafkaMessageStream(BlockingCollection <FetchedDataChunk> queue, int consumerTimeoutMs) { this.consumerTimeoutMs = consumerTimeoutMs; this.queue = queue; this.iterator = new ConsumerIterator(this.queue, this.consumerTimeoutMs); }
internal KafkaMessageStream(BlockingCollection <FetchedDataChunk> queue, int consumerTimeoutMs, CancellationToken token) { this.consumerTimeoutMs = consumerTimeoutMs; this.queue = queue; this.iterator = new ConsumerIterator(queue, consumerTimeoutMs, token); }