Skip to content

Commit 4f7a87b

Browse files
authored
[protocol] Add adminOperationProtocolVersion into proto schema AdminTopicMetadata (#1522)
We are introducing a new field to cluster's adminTopicMetadata, we will use this version as the SOT for admin operation (de)serializer. In /getAdminTopicMetadata API response, we want to return version along with other metadata inside the metadata map. Hence, we need to add the field in proto to set the value in response object.
1 parent ed1d8ab commit 4f7a87b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/venice-common/src/main/proto/controller/ClusterAdminOpsGrpcService.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,5 @@ message AdminTopicGrpcMetadata {
6363
optional string storeName = 3;
6464
optional int64 offset = 4;
6565
optional int64 upstreamOffset = 5;
66+
optional int64 adminOperationProtocolVersion = 6;
6667
}

0 commit comments

Comments
 (0)