github.com/m3db/m3@v1.5.0/src/msg/generated/proto/topicpb/topic.proto (about) 1 syntax = "proto3"; 2 package topicpb; 3 4 message Topic { 5 string name = 1; 6 uint32 number_of_shards = 2; 7 repeated ConsumerService consumer_services = 3; 8 } 9 10 message ConsumerService { 11 ServiceID service_id = 1; 12 ConsumptionType consumption_type = 2; 13 int64 message_ttl_nanos = 3; 14 } 15 16 message ServiceID { 17 string name = 1; 18 string environment = 2; 19 string zone = 3; 20 } 21 22 enum ConsumptionType { 23 UNKNOWN = 0; 24 SHARED = 1; 25 REPLICATED = 2; 26 }