44 const asio::strand<asio::io_context::executor_type> & write_strand,
47 std::string_view
id()
const override;
48 std::int64_t
cursor()
const override {
return _last_change_seq; }
49 asio::awaitable<std::size_t>
projectBatch(std::size_t limit, std::int64_t now_ms)
override;
54 asio::awaitable<std::size_t> _sweepDeadLetters(std::size_t limit, std::int64_t now_ms);
58 asio::strand<asio::io_context::executor_type> _write_strand;
60 std::int64_t _last_change_seq{0};
63 std::int64_t _failing_seq{0};
64 std::size_t _failure_count{0};
66 std::int64_t _last_sweep_ms{0};
Definition event_projector.hpp:56
Definition sqlite_hot_store.hpp:19
std::string_view id() const override
Definition feed_projector.cpp:21
asio::awaitable< std::size_t > projectBatch(std::size_t limit, std::int64_t now_ms) override
Definition feed_projector.cpp:26
FeedProjector(events::SQLiteHotStore &store, Feed &feed, const asio::strand< asio::io_context::executor_type > &write_strand, events::ProjectorRetryConfig retry={})
Definition feed_projector.cpp:8
std::int64_t cursor() const override
Definition feed_projector.hpp:48
Definition event_projector.hpp:27