0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 09:16:49 +01:00
posthog/ee/idl/events.proto
James Greenhill 83b5273113
Protobufize events to protect from malformed JSON (#2085)
* Protobuf all the things

* oops

* Protobufize events to protect from malformed JSON

* format the generated files (will need to remember this for future)

* format

* clean up kafka produce serializer

* fixes
2020-10-28 15:18:52 -07:00

15 lines
369 B
Protocol Buffer

syntax = "proto3";
import "google/protobuf/timestamp.proto";
message Event {
string uuid = 1;
string event = 2;
string properties = 3;
string timestamp = 4;
uint64 team_id = 5;
string distinct_id = 6;
string created_at = 7;
string elements_chain = 8;
google.protobuf.Timestamp proto_created_at = 9;
google.protobuf.Timestamp proto_timestamp = 10;
}