kafka

Форк
0
/
NullableStructMessage.json 
44 строки · 2.0 Кб
1
// Licensed to the Apache Software Foundation (ASF) under one or more
2
// contributor license agreements.  See the NOTICE file distributed with
3
// this work for additional information regarding copyright ownership.
4
// The ASF licenses this file to You under the Apache License, Version 2.0
5
// (the "License"); you may not use this file except in compliance with
6
// the License.  You may obtain a copy of the License at
7
//
8
//    http://www.apache.org/licenses/LICENSE-2.0
9
//
10
// Unless required by applicable law or agreed to in writing, software
11
// distributed under the License is distributed on an "AS IS" BASIS,
12
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
// See the License for the specific language governing permissions and
14
// limitations under the License.
15
{
16
  "name": "NullableStructMessage",
17
  "type": "header",
18
  "validVersions": "0-2",
19
  "flexibleVersions": "1+",
20
  "fields": [
21
    { "name": "NullableStruct", "type": "MyStruct", "versions": "0+", "nullableVersions": "0+", "default": "null",
22
      "fields": [
23
        { "name": "MyString", "type": "string", "versions": "0+" },
24
        { "name": "MyInt", "type": "int32", "versions": "0+" }
25
    ]},
26
    { "name": "NullableStruct2", "type": "MyStruct2", "versions": "0+", "nullableVersions": "1+",
27
      "fields": [
28
        { "name": "MyString", "type": "string", "versions": "0+" },
29
        { "name": "MyInt", "type": "int32", "versions": "0+" }
30
    ]},
31
    { "name": "NullableStruct3", "type": "MyStruct3", "versions": "1+", "nullableVersions": "1+", "default": "null",
32
      "tag": 0, "taggedVersions": "1+",
33
      "fields": [
34
        { "name": "MyString", "type": "string", "versions": "1+" },
35
        { "name": "MyInt", "type": "int32", "versions": "1+" }
36
    ]},
37
    { "name": "NullableStruct4", "type": "MyStruct4", "versions": "1+", "nullableVersions": "1+",
38
      "tag": 1, "taggedVersions": "1+",
39
      "fields": [
40
        { "name": "MyString", "type": "string", "versions": "1+" },
41
        { "name": "MyInt", "type": "int32", "versions": "1+" }
42
    ]}
43
  ]
44
}
45

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.