Skip to content

Commit

Permalink
Make protoc compiler to use 'pulsar::proto' as C++ namespace (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat authored Oct 26, 2016
1 parent 979c46d commit 1bb5bda
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pulsar-common/src/main/proto/PulsarApi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.yahoo.pulsar.common.api.proto;
package pulsar.proto;
option java_package = "com.yahoo.pulsar.common.api.proto";
option optimize_for = LITE_RUNTIME;

Expand Down Expand Up @@ -50,7 +50,7 @@ message MessageMetadata {
repeated string replicate_to = 7;
optional CompressionType compression = 8 [default = NONE];
optional uint32 uncompressed_size = 9 [default = 0];
// Removed below checksum field from Metadata as
// Removed below checksum field from Metadata as
// it should be part of send-command which keeps checksum of header + payload
//optional sfixed64 checksum = 10;
// differentiate single and batch message metadata
Expand Down Expand Up @@ -264,7 +264,7 @@ message BaseCommand {

PING = 18;
PONG = 19;

REDELIVER_UNACKNOWLEDGED_MESSAGES = 20;
}

Expand Down Expand Up @@ -294,4 +294,3 @@ message BaseCommand {
optional CommandPong pong = 19;
optional CommandRedeliverUnacknowledgedMessages redeliverUnacknowledgedMessages = 20;
}

0 comments on commit 1bb5bda

Please sign in to comment.