merlimat commented on a change in pull request #1279: PIP-13-2/3: support regex based subscription URL: https://github.com/apache/incubator-pulsar/pull/1279#discussion_r170433118
########## File path: pulsar-common/src/main/proto/PulsarApi.proto ########## @@ -461,6 +462,16 @@ message CommandGetLastMessageIdResponse { required uint64 request_id = 2; } +message CommandGetTopicsOfNamespace { + required uint64 request_id = 1; + required string namespace = 2; +} + +message CommandGetTopicsOfNamespaceResponse { + required uint64 request_id = 1; + repeated string topics = 2; Review comment: It's probably not worth it or even necessary to bother about, but I was thinking how we could compress a little be this response. For one, we at least know that all topics have the same namespace (though they might have persistent and non-persistent topics together). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services