1#ifndef NANOMMO_SERVER_EVENTS_H_
2#define NANOMMO_SERVER_EVENTS_H_
9#include "absl/status/status.h"
10#include "absl/time/time.h"
12#include "protocol/nanommo.pb.h"
26 std::string_view world, absl::Time time);
38 static constexpr int kKeep = 1'000'000;
43 absl::Status
Add(
const std::vector<std::string>& rows);
static constexpr int kKeep
absl::Status Add(const std::vector< std::string > &rows)
Adds the rows to the stream, all of them in a single round trip.
constexpr char kEventStream[]
bool ForAnalytics(Event::Kind kind)
std::string Row(const Event &event, const Content &content, std::string_view world, absl::Time time)