Skip to content

Commit 71eba17

Browse files
fix: add required fields missing in mock topic data (#95)
1 parent 26164f6 commit 71eba17

File tree

1 file changed

+62
-2
lines changed

1 file changed

+62
-2
lines changed

packages/api-mock/_data_/topics.json

Lines changed: 62 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@
99
{
1010
"key": "max.message.bytes",
1111
"value": "1050000"
12+
},
13+
{
14+
"key": "retention.ms",
15+
"value": "6000000"
16+
},
17+
{
18+
"key": "retention.bytes",
19+
"value": "1024"
1220
}
1321
],
1422
"partitions": [
@@ -145,7 +153,6 @@
145153
"key": "segment.index.bytes",
146154
"value": "10485760"
147155
},
148-
149156
{
150157
"key": "flush.ms",
151158
"value": "9223372036854775807"
@@ -212,6 +219,14 @@
212219
{
213220
"key": "max.message.bytes",
214221
"value": "1050000"
222+
},
223+
{
224+
"key": "retention.ms",
225+
"value": "1000000"
226+
},
227+
{
228+
"key": "retention.bytes",
229+
"value": "10245"
215230
}
216231
],
217232
"partitions": [
@@ -260,5 +275,50 @@
260275
}
261276
}
262277
]
278+
},
279+
{
280+
"name": "sample-topic",
281+
"config": [
282+
{
283+
"key": "min.insync.replicas",
284+
"value": "1"
285+
},
286+
{
287+
"key": "max.message.bytes",
288+
"value": "1050000"
289+
},
290+
{
291+
"key": "retention.ms",
292+
"value": "6000000"
293+
},
294+
{
295+
"key": "retention.bytes",
296+
"value": "1024"
297+
}
298+
],
299+
"partitions": [
300+
{
301+
"id": 28,
302+
"replicas": [
303+
{
304+
"id": 35
305+
},
306+
{
307+
"id": 5
308+
}
309+
],
310+
"isr": [
311+
{
312+
"id": 44
313+
},
314+
{
315+
"id": 83
316+
}
317+
],
318+
"leader": {
319+
"id": 22
320+
}
321+
}
322+
]
263323
}
264-
]
324+
]

0 commit comments

Comments
 (0)