Add a backwards compatibility check for .proto files (#1362)
This commit is contained in:
parent
3b5c59ec04
commit
5878ba8ac6
2 changed files with 90 additions and 0 deletions
|
|
@ -410,6 +410,18 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.salesforce.servicelibs</groupId>
|
||||
<artifactId>proto-backwards-compatibility</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>backwards-compatibility-check</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
|
|
|||
78
amazon-kinesis-client/src/main/proto/proto.lock
Normal file
78
amazon-kinesis-client/src/main/proto/proto.lock
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"definitions": [
|
||||
{
|
||||
"protopath": "messages.proto",
|
||||
"def": {
|
||||
"messages": [
|
||||
{
|
||||
"name": "Tag",
|
||||
"fields": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "key",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "value",
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Record",
|
||||
"fields": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "partition_key_index",
|
||||
"type": "uint64"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "explicit_hash_key_index",
|
||||
"type": "uint64"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "data",
|
||||
"type": "bytes"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "tags",
|
||||
"type": "Tag",
|
||||
"is_repeated": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "AggregatedRecord",
|
||||
"fields": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "partition_key_table",
|
||||
"type": "string",
|
||||
"is_repeated": true
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "explicit_hash_key_table",
|
||||
"type": "string",
|
||||
"is_repeated": true
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "records",
|
||||
"type": "Record",
|
||||
"is_repeated": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"package": {
|
||||
"name": "software.amazon.kinesis.retrieval.kpl"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue