mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
Pass stream_cancelled to the copyData as stub in StorageKafka
This commit is contained in:
parent
c69217e9f3
commit
a10cfc3ae5
@ -380,8 +380,7 @@ bool StorageKafka::streamToViews()
|
||||
else
|
||||
in = streams[0];
|
||||
|
||||
std::atomic<bool> stub = {false};
|
||||
copyData(*in, *block_io.out, &stub);
|
||||
copyData(*in, *block_io.out, &stream_cancelled);
|
||||
for (auto & stream : streams)
|
||||
stream->as<KafkaBlockInputStream>()->commit();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user