Commit ec7aeb4
committed
Fix race condition for batches in the
There is no guarantee the Apache Kafka would deliver an expected number of records into
a single batch to process.
* Rework the test configuration logic to count down every single record
independently of the received batchedBatchIndividualRecordObservationTests
1 parent a8bf449 commit ec7aeb4
File tree
1 file changed
+4
-15
lines changed- spring-kafka/src/test/java/org/springframework/kafka/support/micrometer
1 file changed
+4
-15
lines changedLines changed: 4 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
151 | 149 | | |
152 | 150 | | |
153 | 151 | | |
| |||
170 | 168 | | |
171 | 169 | | |
172 | 170 | | |
173 | | - | |
174 | | - | |
175 | 171 | | |
176 | 172 | | |
177 | 173 | | |
| |||
328 | 324 | | |
329 | 325 | | |
330 | 326 | | |
331 | | - | |
332 | | - | |
333 | | - | |
| 327 | + | |
334 | 328 | | |
335 | 329 | | |
336 | 330 | | |
337 | 331 | | |
338 | | - | |
339 | 332 | | |
340 | | - | |
| 333 | + | |
341 | 334 | | |
342 | | - | |
343 | 335 | | |
344 | 336 | | |
345 | 337 | | |
346 | 338 | | |
347 | 339 | | |
348 | 340 | | |
349 | | - | |
350 | | - | |
351 | | - | |
| 341 | + | |
352 | 342 | | |
353 | 343 | | |
354 | 344 | | |
355 | 345 | | |
356 | 346 | | |
357 | 347 | | |
358 | | - | |
| 348 | + | |
359 | 349 | | |
360 | | - | |
361 | 350 | | |
362 | 351 | | |
363 | 352 | | |
| |||
0 commit comments