Commit 01d05cf
fix: NPE in KafkaSteps when consuming records with null header values (#795)
* Initial plan
* Initial plan
* Fix NPE when consuming Kafka records with null header values
Co-authored-by: denouche <3081451+denouche@users.noreply.github.com>
* Fix NullPointerException when Kafka header value is null
Co-authored-by: denouche <3081451+denouche@users.noreply.github.com>
* Use HashMap collector to support null header values
Co-authored-by: denouche <3081451+denouche@users.noreply.github.com>
* fix tests
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: denouche <3081451+denouche@users.noreply.github.com>1 parent 7ec9cb1 commit 01d05cf
File tree
2 files changed
+43
-3
lines changed- tzatziki-spring-kafka/src
- main/java/com/decathlon/tzatziki/steps
- test/resources/com/decathlon/tzatziki/steps
2 files changed
+43
-3
lines changedLines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
| 420 | + | |
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
482 | | - | |
| 482 | + | |
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
547 | | - | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
548 | 550 | | |
549 | 551 | | |
550 | 552 | | |
| |||
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
429 | 467 | | |
430 | 468 | | |
431 | 469 | | |
| |||
0 commit comments