kafka

Форк
0
/
ProducerSnapshot.json 
85 строк · 2.6 Кб
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
{
17
  "type": "data",
18
  "name": "ProducerSnapshot",
19
  "validVersions": "1",
20
  "flexibleVersions":  "none",
21
  "fields": [
22
    {
23
      "name": "Crc",
24
      "type": "uint32",
25
      "versions": "1",
26
      "about": "CRC of the snapshot data"
27
    },
28
    {
29
      "name": "ProducerEntries",
30
      "type": "[]ProducerEntry",
31
      "versions": "1",
32
      "about": "The entries in the producer table",
33
      "fields": [
34
        {
35
          "name": "ProducerId",
36
          "type": "int64",
37
          "versions": "1",
38
          "about": "The producer ID"
39
        },
40
        {
41
          "name": "Epoch",
42
          "type": "int16",
43
          "versions": "1",
44
          "about": "Current epoch of the producer"
45
        },
46
        {
47
          "name": "LastSequence",
48
          "type": "int32",
49
          "versions": "1",
50
          "about": "Last written sequence of the producer"
51
        },
52
        {
53
          "name": "LastOffset",
54
          "type": "int64",
55
          "versions": "1",
56
          "about": "Last written offset of the producer"
57
        },
58
        {
59
          "name": "OffsetDelta",
60
          "type": "int32",
61
          "versions": "1",
62
          "about": "The difference of the last sequence and first sequence in the last written batch"
63
        },
64
        {
65
          "name": "Timestamp",
66
          "type": "int64",
67
          "versions": "1",
68
          "about": "Max timestamp from the last written entry"
69
        },
70
        {
71
          "name": "CoordinatorEpoch",
72
          "type": "int32",
73
          "versions": "1",
74
          "about": "The epoch of the last transaction coordinator to send an end transaction marker"
75
        },
76
        {
77
          "name": "CurrentTxnFirstOffset",
78
          "type": "int64",
79
          "versions": "1",
80
          "about": "The first offset of the on-going transaction (-1 if there is none)"
81
        }
82
      ]
83
    }
84
  ]
85
}
86

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

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

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

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