mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-05 13:08:48 +08:00
42 lines
2.1 KiB
JSON
42 lines
2.1 KiB
JSON
// Licensed to the Apache Software Foundation (ASF) under one or more
|
|
// contributor license agreements. See the NOTICE file distributed with
|
|
// this work for additional information regarding copyright ownership.
|
|
// The ASF licenses this file to You under the Apache License, Version 2.0
|
|
// (the "License"); you may not use this file except in compliance with
|
|
// the License. You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
{
|
|
"name": "SimpleExampleMessage",
|
|
"type": "header",
|
|
"validVersions": "0-1",
|
|
"flexibleVersions": "1+",
|
|
"fields": [
|
|
{ "name": "processId", "versions": "1+", "type": "uuid" },
|
|
{ "name": "myTaggedIntArray", "type": "[]int32",
|
|
"taggedVersions": "1+", "tag": 0 },
|
|
{ "name": "myNullableString", "type": "string", "default": "null",
|
|
"nullableVersions": "1+", "taggedVersions": "1+", "tag": 1 },
|
|
{ "name": "myInt16", "type": "int16", "default": "123",
|
|
"taggedVersions": "1+", "tag": 2 },
|
|
{ "name": "myFloat64", "type": "float64", "default": "12.34",
|
|
"taggedVersions": "1+", "tag": 3 },
|
|
{ "name": "myString", "type": "string", "taggedVersions": "1+", "tag": 4 },
|
|
{ "name": "myBytes", "type": "bytes",
|
|
"nullableVersions": "1+", "taggedVersions": "1+", "tag": 5 },
|
|
{ "name": "taggedUuid", "type": "uuid", "default": "212d5494-4a8b-4fdf-94b3-88b470beb367",
|
|
"taggedVersions": "1+", "tag": 6 },
|
|
{ "name": "taggedLong", "type": "int64", "default": "0xcafcacafcacafca",
|
|
"taggedVersions": "1+", "tag": 7 },
|
|
{ "name": "zeroCopyByteBuffer", "versions": "1", "type": "bytes", "zeroCopy": true },
|
|
{ "name": "nullableZeroCopyByteBuffer", "versions": "1", "nullableVersions": "0+",
|
|
"type": "bytes", "zeroCopy": true }
|
|
]
|
|
}
|