Files
scylladb/streaming/consumer.hh
Botond Dénes ad1b157452 streaming/consumer: convert to v2
At least on the API level, internally there are still conversions, but
these are going to be sorted out in the next patches too.
2022-03-02 09:55:09 +02:00

34 lines
677 B
C++

/*
* Copyright (C) 2021-present ScyllaDB
*/
/*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#include "sstables/sstable_set.hh"
#include "streaming/stream_reason.hh"
namespace replica {
class database;
}
namespace db {
class system_distributed_keyspace;
namespace view {
class view_update_generator;
}
}
namespace streaming {
std::function<future<>(flat_mutation_reader_v2)> make_streaming_consumer(sstring origin,
sharded<replica::database>& db,
sharded<db::system_distributed_keyspace>& sys_dist_ks,
sharded<db::view::view_update_generator>& vug,
uint64_t estimated_partitions,
stream_reason reason,
sstables::offstrategy offstrategy);
}