Commit 2966c7d
GH-2451: Fix Class Level Listener Multi Instances
Resolves #2451
Classes with class level `@KafkaListener` were incorrectly added
to the `nonAnnotatedClasses` set, preventing multiple instances
of the same class to be registered as listeners.
**cherry-pick to 2.9.x, 2.8.x**
* Fix CheckStyle.1 parent 9e07035 commit 2966c7d
File tree
2 files changed
+37
-2
lines changed- spring-kafka/src
- main/java/org/springframework/kafka/annotation
- test/java/org/springframework/kafka/annotation
2 files changed
+37
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
| |||
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
1012 | 1012 | | |
1013 | 1013 | | |
1014 | 1014 | | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
1015 | 1021 | | |
1016 | 1022 | | |
1017 | 1023 | | |
| |||
1742 | 1748 | | |
1743 | 1749 | | |
1744 | 1750 | | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
1745 | 1761 | | |
1746 | 1762 | | |
1747 | 1763 | | |
| |||
2483 | 2499 | | |
2484 | 2500 | | |
2485 | 2501 | | |
| 2502 | + | |
| 2503 | + | |
| 2504 | + | |
| 2505 | + | |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
| 2509 | + | |
| 2510 | + | |
| 2511 | + | |
| 2512 | + | |
| 2513 | + | |
| 2514 | + | |
| 2515 | + | |
| 2516 | + | |
| 2517 | + | |
| 2518 | + | |
| 2519 | + | |
| 2520 | + | |
2486 | 2521 | | |
2487 | 2522 | | |
2488 | 2523 | | |
| |||
0 commit comments