github.com/m3db/m3@v1.5.0/src/query/generated/proto/admin/topic.proto (about)

     1  syntax = "proto3";
     2  package admin;
     3  
     4  import "github.com/m3db/m3/src/msg/generated/proto/topicpb/topic.proto";
     5  
     6  message TopicGetResponse {
     7    topicpb.Topic topic = 1;
     8    uint32 version = 2;
     9  }
    10  
    11  message TopicInitRequest {
    12    uint32 number_of_shards = 1;
    13  }
    14  
    15  message TopicAddRequest {
    16    topicpb.ConsumerService consumer_service = 1;
    17  }
    18  
    19  // Request to update a topic and set its consumer services to a new value.
    20  // CheckAndSet is used based on the version passed.
    21  message TopicUpdateRequest {
    22    repeated topicpb.ConsumerService consumer_services = 1;
    23    uint32 version = 2;
    24  }