From 8ce76313412192a3ad8bccb478057b49a7fdf5b9 Mon Sep 17 00:00:00 2001 From: Tetsuya Morimoto Date: Tue, 16 May 2017 08:12:47 +0900 Subject: [PATCH] add syntax statement since protoc warns to declare explicitly (#410) --- managed-ledger/src/main/proto/MLDataFormats.proto | 2 ++ pulsar-common/src/main/proto/PulsarApi.proto | 2 ++ 2 files changed, 4 insertions(+) diff --git a/managed-ledger/src/main/proto/MLDataFormats.proto b/managed-ledger/src/main/proto/MLDataFormats.proto index bd841c678f9..1eb7dbb9cac 100644 --- a/managed-ledger/src/main/proto/MLDataFormats.proto +++ b/managed-ledger/src/main/proto/MLDataFormats.proto @@ -13,6 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +syntax = "proto2"; + option java_package = "org.apache.bookkeeper.mledger.proto"; option optimize_for = SPEED; diff --git a/pulsar-common/src/main/proto/PulsarApi.proto b/pulsar-common/src/main/proto/PulsarApi.proto index 3f89accbfce..8e8a3bfa548 100644 --- a/pulsar-common/src/main/proto/PulsarApi.proto +++ b/pulsar-common/src/main/proto/PulsarApi.proto @@ -13,6 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +syntax = "proto2"; + package pulsar.proto; option java_package = "com.yahoo.pulsar.common.api.proto"; option optimize_for = LITE_RUNTIME; -- GitLab