mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-23 09:32:04 +00:00
34 lines
955 B
Protocol Buffer
34 lines
955 B
Protocol Buffer
![]() |
syntax = "proto3";
|
||
|
package protobuf.clickstream;
|
||
|
|
||
|
import "protobuf/meta/meta.proto";
|
||
|
import "google/protobuf/timestamp.proto";
|
||
|
|
||
|
/**
|
||
|
Clickstream impressions
|
||
|
**/
|
||
|
message Impression {
|
||
|
option(meta.message.type) = EVENT;
|
||
|
option(meta.kafka.topics) = "clickstream_impressions";
|
||
|
|
||
|
option(meta.props.prop1) = "prop1 value";
|
||
|
option(meta.props.prop2) = true;
|
||
|
option(meta.props.prop3) = EVENT;
|
||
|
|
||
|
option(meta.props.prop4) = "value1";
|
||
|
option(meta.props.prop4) = "value2";
|
||
|
option(meta.props.prop6) = EVENT;
|
||
|
option(meta.props.prop6) = IMPRESSION;
|
||
|
|
||
|
option(meta.tags.tag_str) = "value1";
|
||
|
option(meta.tags.tag_bool) = true;
|
||
|
// option(meta.tags.tag_enum) = EVENT;
|
||
|
option(meta.tags.tag_list) = "a, b, c";
|
||
|
|
||
|
option(meta.security.classification_enum) = HighlyConfidential;
|
||
|
option(meta.security.classification) = "Classification.Sensitive";
|
||
|
|
||
|
google.protobuf.Timestamp timestamp = 1; // event timestamp
|
||
|
string details = 2; // event details
|
||
|
}
|