Skip to content

Releases: spring-projects/spring-kafka

v3.0.3

21 Feb 17:42
Compare
Choose a tag to compare

⭐ New Features

  • Allow to use KafkaListenerContainerFactory with custom message converter for batch and record listeners #2566
  • Repeating headers in Non-Blocking Retry Mechanism #2549

🐞 Bug Fixes

  • ProducerFactory's argument txIdPrefix of createProducer not marked as @Nullable #2583
  • Container Does Not Pause for Missing Acks After a Rebalance #2581
  • Non-blocking retries: partition rebalance causes emergency consumer stop #2576
  • NPE in FailedBatchProcessor if Reported Index is Out of Bounds #2558
  • An application using default spring boot configuration fails at the startup when there are multiple @KafkaListener with @RetryableTopic #2554

📔 Documentation

  • The documentation of the autoFlush seems to be confusing (to me) #2562
  • GH-2516: Fix code example in the documentation for for Non-Blocking Retries - DLT Failure Behavior #2517

🔨 Dependency Upgrades

  • Upgrade Jackson, Micrometer, Reactor, Spring Data, Spring Framework Versions #2592
  • Upgrade to Apache Kafka 3.3.2 #2552

🔨 Tasks

  • Update Gradle Enterprise plugin #2578

❤️ Contributors

Thank you to all the contributors who worked on this release:

@jprinet and @jucosorin

External Links

v2.9.6

21 Feb 17:17
Compare
Choose a tag to compare

⭐ New Features

  • GH-2566: Both Converters in Container Factory #2570
  • Repeating headers in Non-Blocking Retry Mechanism #2551

🐞 Bug Fixes

  • Container Does Not Pause for Missing Acks After a Rebalance #2587
  • ProducerFactory's argument txIdPrefix of createProducer not marked as @Nullable #2585
  • Non-blocking retries: partition rebalance causes emergency consumer stop #2580
  • GH-2565: Topic partition is not resumed for RetryTopic #2569
  • GH-2558: Fix Possible NPE in FailedBatchProcessor #2560
  • The RetryTopicBeanNames.DEFAULT_SCHEDULER_WRAPPER_BEAN_NAME accidentally points to defaultRetryTopicKafkaTemplate #2557

📔 Documentation

  • Update Docs For Overriding Boot Dependencies #2564
  • GH-2516: Fix code example in the documentation for for Non-Blocking Retries - DLT Failure Behavior #2556

🔨 Dependency Upgrades

  • Upgrade Jackson, Micrometer, Reactor, Spring Data Versions #2591

❤️ Contributors

Thank you to all the contributors who worked on this release:

@cenkakin and @jucosorin

External Links

v3.0.2

17 Jan 14:56
Compare
Choose a tag to compare

⭐ New Features

  • GH-2542: FallbackBatchErrorHandler Improvement #2543
  • Add possibility to remove custom headers in method: addHeadersFunction(...) from DeadLetterPublishingRecoverer #2528
  • Cluster Id: Use Producer/Consumer Bootstrap Servers if Different to the Context's KafkaAdmin Servers #2505

🐞 Bug Fixes

  • Get Cluster Id for Observation Lazily #2538
  • Topic partition is not resumed after re-assignment for RetryTopic #2525
  • KafkaListener Regression - Pseudo Bean __listener Not Available in the Id Attribute #2521

📔 Documentation

  • Remove outdated information for transactional.id #2524
  • GH-2511: Fix code examples in the documentation for for Non-Blocking Retries - BackOff Configuration #2512

🔨 Dependency Upgrades

  • Upgrade Spring, Micrometer, Reactor Versions #2548

🔨 Tasks

  • kafka-clients 3.3.2 Compatibility #2540
  • Refactor Switch Expressions #2535
  • Upgrade Samples to 3.0.x #2508

❤️ Contributors

Thank you to all the contributors who worked on this release:

@LukasHeimann, @jucosorin, and @truepele

External Links

v2.9.5

17 Jan 14:54
Compare
Choose a tag to compare

⭐ New Features

  • GH-2542: FallbackBatchErrorHandler Improvement #2544
  • Add possibility to remove custom headers in method: addHeadersFunction(...) from DeadLetterPublishingRecoverer #2530

🐞 Bug Fixes

  • Topic partition is not resumed after re-assignment for RetryTopic #2534

📔 Documentation

  • GH-2511: Fix code examples in the documentation for for Non-Blocking Retries - BackOff Configuration #2513

🔨 Dependency Upgrades

  • Upgrade Spring, Micrometer, Reactor Versions #2547

🔨 Tasks

  • kafka-clients 3.3.2 Compatibility #2541

❤️ Contributors

Thank you to all the contributors who worked on this release:

@jucosorin and @truepele

External Links

v3.0.1

20 Dec 14:44
Compare
Choose a tag to compare

⭐ New Features

  • Add Option to Set Listener Thread Name #2501

🐞 Bug Fixes

  • Error on executing tests with spring-kafka-test 3.0.0 #2490
  • Duplicate consumption triggered by consumer group rebalance #2489

📔 Documentation

  • Document Parameter Annotation Limitations #2499

🔨 Dependency Upgrades

  • Upgrade Spring Framework (6.0.3), Micrometer (1.10.2), Reactor (2022.0.1) #2507

❤️ Contributors

Thank you to all the contributors who worked on this release:

@mikael-carlstedt

v2.9.4

20 Dec 14:35
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Duplicate consumption triggered by consumer group rebalance #2492

📔 Documentation

  • Fix Consumer Thread Naming Documentation #2504
  • Document Parameter Annotation Limitations #2500

❤️ Contributors

Thank you to all the contributors who worked on this release:

@mikael-carlstedt

v3.0.0

21 Nov 17:28
Compare
Choose a tag to compare

⭐ New Features

  • Make RetryTopicConfigurationSupport initialize RetryTopicComponentFactory lazily #2478
  • Use isEmpty() Instead of size(); toList() #2474
  • Add spring-kafka-bom #2472
  • suggestion: change @RetryableTopic replicationFactor default to -1 (broker default) #2471

🐞 Bug Fixes

  • Disable Global Embedded Kafka Support if JUnit Platform is < 1.8 #2481
  • java.lang.IllegalStateException: Only one 'RetryTopicConfigurationSupport' is allowed when Spring context is reloaded #2477

📔 Documentation

  • Docs for Native Images #2483

🔨 Dependency Upgrades

  • Spring Data 2022.0.0, Retry 2.0.0, Framework 6.0.0 #2488
  • Hibernate Validation 8.0.0-final, Micrometer 1.10.1, Mockito 4.8.1, Reactor 2022.0.0 #2487
  • Micrometer 1.10.0, Tracing, Docs 1.0.0 #2486
  • Upgrade to Jackson 2.14.0 #2485

v2.9.3

21 Nov 17:18
Compare
Choose a tag to compare

Change log:

5a412d8 Upgrade Versions; Prepare for Release
91ac6d2 GH-2477: Fix Static State RetryTopicConfigSupport
8c15f7d Fix Missing Re-Interrupt
42f654d Revert KafkaAdmin Change (Previous Commit)
30d2b89 Fix Missing Re-Interrupts
65bbdb6 Add KafkaTestUtils methods using Duration for timeout (2.9) (#2468)
c92ec76 GH-2464: Fix Delivery Attempt Header (Rare)
921e6ae GH-2459: Resolve Sonar Issues
f9f6a55 @RetryableTopic More SpEL Support
5c70ec1 GH-2459: FallbackBatchErrorHandler Retryable Ex
2966c7d GH-2451: Fix Class Level Listener Multi Instances
9e07035 GH-2352: Fix Doc Typo
2bf7d62 GH-2352: Expose KLERegistrar Getter on BPP

v2.8.11

21 Nov 17:16
Compare
Choose a tag to compare

Change log:

e31e639 Upgrade Versions; Prepare for Release
5df71c1 Fix Missing Re-Interrupt
a9b0252 Revert KafkaAdmin Change (Previous Commit)
8c2b325 Fix Missing Re-Interrupts
6ec1b3b GH-2459: FallbackBatchErrorHandler Retryable Ex
48b2017 GH-2451: Fix Class Level Listener Multi Instances

v3.0.0-RC2

03 Nov 19:02
Compare
Choose a tag to compare
v3.0.0-RC2 Pre-release
Pre-release

Change log:

b8bccd9 Revert Micrometer Docs to RC1
c51d625 Upgrade to Spring Framework 6.0.0-RC3
0d78fbe Fix Get ObservationRegistry
8217a9e Fix Missing Re-Interrupts
4f20673 Address Sonar Issues
df9b014 NonNull API Retryable Topic
9d43b93 Address Sonar Issues
44db509 Add KafkaTestUtils methods using Duration for timeout (#2467)
59eb2dc GH-2464: Fix Delivery Attempt Header (Rare)
a00789a GH-2441: Merged Annotations with RetryableTopic
954b622 GH-2459: Resolve Sonar Issues
72d4284 @RetryableTopic Support SpEL for listenerContainerFactory and kafkaTemplate properties
e38c4cb GH-2282: Fix Multi RetryableTopic Same Topic
70b9143 GH-2459: FallbackBatchErrorHandler Retryable Ex
97ed09e GH-2427: Allow RuntimeException to be Classified
4fedd75 GH-2443: Distinct Concurrency for Retry Containers
62300bb GH-2451: Fix Class Level Listener Multi Instances
8ccd863 GH-2198: Observability Doc Gen Polishing
c6bbba8 Update the usage of micrometer-docs-generator
f1ca2fd GH-2448: State Non-Blocking Retries API Status
ada628a GH-2352: Fix Doc Typo
b743f03 GH-2352: Expose KLERegistrar Getter on BPP