Skip to content

Releases: spring-projects/spring-kafka

v3.3.6

19 May 17:47
Compare
Choose a tag to compare

🐞 Bug Fixes

  • GH-3712: Make ContainerPausingBackOffHandler working in batch mode. #3887
  • Should fail bean registration when no method listeners are registered. #3876

🔨 Dependency Upgrades

  • Bump io.micrometer:micrometer-tracing-bom from 1.4.5 to 1.4.6 #3902
  • Bump io.projectreactor:reactor-bom from 2024.0.5 to 2024.0.6 #3901
  • Bump org.springframework:spring-framework-bom from 6.2.6 to 6.2.7 #3900
  • Bump io.micrometer:micrometer-bom from 1.14.6 to 1.14.7 #3899
  • Bump org.springframework.retry:spring-retry from 2.0.11 to 2.0.12 #3898
  • Bump org.springframework.data:spring-data-bom from 2024.1.5 to 2024.1.6 #3897
  • Bump com.fasterxml.jackson:jackson-bom from 2.18.3 to 2.18.4 #3890

v3.2.9

19 May 17:35
Compare
Choose a tag to compare

⭐ New Features

  • Enable the tracing on the reply of a ReplyingKafkaTemplate #3827

🐞 Bug Fixes

  • GH-3712: Make ContainerPausingBackOffHandler working in batch mode. #3888
  • Should fail bean registration when no method listeners are registered. #3877

🔨 Dependency Upgrades

  • Bump org.springframework:spring-framework-bom from 6.1.19 to 6.1.20 #3908
  • Bump io.micrometer:micrometer-tracing-bom from 1.3.11 to 1.3.12 #3907
  • Bump io.micrometer:micrometer-bom from 1.13.13 to 1.13.14 #3906
  • Bump io.projectreactor:reactor-bom from 2023.0.17 to 2023.0.18 #3905
  • Bump org.springframework.data:spring-data-bom from 2024.0.11 to 2024.0.12 #3904
  • Bump org.springframework.retry:spring-retry from 2.0.11 to 2.0.12 #3903
  • Bump org.springframework.data:spring-data-bom from 2024.0.10 to 2024.0.11 #3860
  • Bump org.springframework:spring-framework-bom from 6.1.18 to 6.1.19 #3858
  • Bump io.micrometer:micrometer-bom from 1.13.12 to 1.13.13 #3857
  • Bump io.projectreactor:reactor-bom from 2023.0.16 to 2023.0.17 #3856
  • Bump io.micrometer:micrometer-tracing-bom from 1.3.10 to 1.3.11 #3855

v4.0.0-M2

22 Apr 16:00
Compare
Choose a tag to compare
v4.0.0-M2 Pre-release
Pre-release

⭐ New Features

  • Verify support for the new Consumer Rebalance protocol in Spring Kafka #3847
  • Upgrade Apache Kafka client dependencies to version 4.0.0 #3814
  • GH-3810 Move the logging statement after the conditional statement. #3811
  • Enable the tracing on the reply of a ReplyingKafkaTemplate #3808
  • Optimize a MessagingMessageListenerAdapter returning null from the DelegatingInvocableHandler.invoke() #3697

🐞 Bug Fixes

  • If an Error is thrown in the application's @KafkaListener listener code #3843
  • KafkaOperations is missing nullable annotations #3813

📔 Documentation

  • Fix plural words #3842
  • Fix typo document #3824
  • Update testing docs for 4.0.0 with the updates in EmbeddedKafka #3822
  • Adding whats-new section for 4.0.0 #3821

🔨 Dependency Upgrades

  • Bump io.projectreactor:reactor-bom from 2024.0.4 to 2024.0.5 #3859
  • Bump org.jetbrains.kotlinx:kotlinx-coroutines-reactor from 1.10.1 to 1.10.2 #3836
  • Bump kotlinVersion from 2.1.10 to 2.1.20 #3817

❤️ Contributors

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

@ghgh415263, @ngocnhan-tran1996, @sobychacko, and @sullis

v3.3.5

22 Apr 15:12
Compare
Choose a tag to compare

⭐ New Features

  • Enable the tracing on the reply of a ReplyingKafkaTemplate #3826

🐞 Bug Fixes

  • If an Error is thrown in the application's @KafkaListener listener code #3846
  • KafkaOperations is missing nullable annotations #3838

🔨 Dependency Upgrades

  • Bump org.springframework.data:spring-data-bom from 2024.1.4 to 2024.1.5 #3861
  • Bump io.micrometer:micrometer-tracing-bom from 1.4.4 to 1.4.5 #3854
  • Bump io.micrometer:micrometer-bom from 1.14.5 to 1.14.6 #3853
  • Bump io.projectreactor:reactor-bom from 2024.0.4 to 2024.0.5 #3852
  • Bump org.springframework:spring-framework-bom from 6.2.5 to 6.2.6 #3851
  • Bump org.springframework:spring-framework-bom from 6.2.4 to 6.2.5 #3819

v4.0.0-M1

17 Mar 18:07
Compare
Choose a tag to compare
v4.0.0-M1 Pre-release
Pre-release

⭐ New Features

  • Polishing #3771
  • Fix block code in section Examples #3770
  • Update version antora for branch docs-build #3769
  • Improve build.gradle for building antora #3768
  • Improve performance of acknowledge(int index) / override createRecordList implementation #3764
  • JSpecify nullability related changes #3762
  • Adding jspecify nullability checks in transaction package #3738
  • Add jspecify based Nullability checks in spring-kafka-test module #3737
  • Configure Gradle toolchain auto-provisioning in build #3734
  • Upgrade Gradle to 8.12.1 and modernize build toolchain configuration #3731

🐞 Bug Fixes

  • StreamsBuilderFactoryBean fails in a native image as org.apache.kafka.streams.errors.LogAndFailProcessingExceptionHandler cannot be loaded #3787
  • Kafka ProducerRecord may end up with duplicated trace headers #3786
  • Fix KafkaTemplate hiding exceptions when starting observation #3779
  • Handle null group id in listener observation #3778
  • Fixing race condition in MicrometerMetricsTests #3760
  • Metric collection for errors always report the same error "ListenerExecutionFailedException" regardless of what's thrown in the consumer method #3741
  • Async suspend function listener not automatically acknowledged? #3740
  • Using ConcurrentMessageListenerContainer section of reference doc is a bit confusing #3733

📔 Documentation

  • Fix typo in CONTRIBUTING and README #3736

🔨 Dependency Upgrades

  • Bump io.projectreactor:reactor-bom from 2024.0.3 to 2024.0.4 #3803
  • Bump com.fasterxml.jackson:jackson-bom from 2.18.2 to 2.18.3 #3774

❤️ Contributors

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

@cfredri4, @ngocnhan-tran1996, and @sobychacko

v3.3.4

17 Mar 17:01
Compare
Choose a tag to compare

⭐ New Features

  • Improve performance of acknowledge(int index) / override createRecordList implementation #3767

🐞 Bug Fixes

  • Kafka ProducerRecord may end up with duplicated trace headers #3791
  • StreamsBuilderFactoryBean fails in a native image as org.apache.kafka.streams.errors.LogAndFailProcessingExceptionHandler cannot be loaded #3788
  • Handle null group id in listener observation #3782
  • Fix KafkaTemplate hiding exceptions when starting observation #3781
  • Fixing race condition in MicrometerMetricsTests #3761

🔨 Dependency Upgrades

  • Bump org.springframework:spring-framework-bom from 6.2.3 to 6.2.4 #3802
  • Bump io.micrometer:micrometer-bom from 1.14.4 to 1.14.5 #3801
  • Bump io.micrometer:micrometer-tracing-bom from 1.4.3 to 1.4.4 #3800
  • Bump org.springframework.data:spring-data-bom from 2024.1.3 to 2024.1.4 #3799
  • Bump io.projectreactor:reactor-bom from 2024.0.3 to 2024.0.4 #3798
  • Bump com.fasterxml.jackson:jackson-bom from 2.18.2 to 2.18.3 #3772

v3.2.8

17 Mar 16:33
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Kafka ProducerRecord may end up with duplicated trace headers #3792
  • Handle null group id in listener observation #3783
  • Fix KafkaTemplate hiding exceptions when starting observation #3780

🔨 Dependency Upgrades

  • Bump io.micrometer:micrometer-bom from 1.13.11 to 1.13.12 #3797
  • Bump io.micrometer:micrometer-tracing-bom from 1.3.9 to 1.3.10 #3796
  • Bump io.projectreactor:reactor-bom from 2023.0.15 to 2023.0.16 #3795
  • Bump org.springframework.data:spring-data-bom from 2024.0.9 to 2024.0.10 #3794
  • Bump org.springframework:spring-framework-bom from 6.1.17 to 6.1.18 #3793

v3.3.3

18 Feb 19:32
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Using ConcurrentMessageListenerContainer section of reference doc is a bit confusing #3759
  • Metric collection for errors always report the same error "ListenerExecutionFailedException" regardless of what's thrown in the consumer method #3757
  • Async suspend function listener not automatically acknowledged? #3743
  • KafkaMessageListenerContainer.getAssignedPartitions is not safe #3726

🔨 Dependency Upgrades

  • Bump org.springframework.data:spring-data-bom from 2024.1.2 to 2024.1.3 #3749
  • Bump io.projectreactor:reactor-bom from 2024.0.2 to 2024.0.3 #3748
  • Bump io.micrometer:micrometer-tracing-bom from 1.4.2 to 1.4.3 #3747
  • Bump org.springframework:spring-framework-bom from 6.2.2 to 6.2.3 #3746
  • Bump io.micrometer:micrometer-bom from 1.14.3 to 1.14.4 #3745

v3.2.7

18 Feb 19:24
Compare
Choose a tag to compare

⭐ New Features

  • Optimize a MessagingMessageListenerAdapter returning null from the DelegatingInvocableHandler.invoke() #3711

🐞 Bug Fixes

  • Using ConcurrentMessageListenerContainer section of reference doc is a bit confusing #3758
  • Async suspend function listener not automatically acknowledged? #3744
  • KafkaMessageListenerContainer.getAssignedPartitions is not safe #3729

🔨 Dependency Upgrades

  • Bump io.projectreactor:reactor-bom from 2023.0.14 to 2023.0.15 #3755
  • Bump org.springframework.data:spring-data-bom from 2024.0.8 to 2024.0.9 #3754
  • Bump org.springframework:spring-framework-bom from 6.1.16 to 6.1.17 #3753
  • Bump io.micrometer:micrometer-tracing-bom from 1.3.8 to 1.3.9 #3752
  • Bump io.micrometer:micrometer-bom from 1.13.10 to 1.13.11 #3751
  • Bump io.micrometer:micrometer-tracing-bom from 1.3.7 to 1.3.8 #3721
  • Bump org.springframework.data:spring-data-bom from 2024.0.7 to 2024.0.8 #3720
  • Bump io.micrometer:micrometer-bom from 1.13.9 to 1.13.10 #3719
  • Bump io.projectreactor:reactor-bom from 2023.0.13 to 2023.0.14 #3718

v3.3.2

21 Jan 17:58
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Acknowledge+commit always issued in AckMode.MANUAL #3695
  • Memory leak on a Kafka Observation due to the metric "spring.kafka.listener.active" #3690
  • KafkaMessageListenerContainer Observation Scope seems to be setup incorrectly #3686

📔 Documentation

  • Correct non-blocking retries docs #3707
  • Documentation typo - Class names clashing - @EmbeddedKafka Annotation #3701
  • Add a sample about Micrometer observation integration #3699

🔨 Dependency Upgrades

  • Bump io.micrometer:micrometer-bom from 1.14.2 to 1.14.3 #3717
  • Bump org.springframework:spring-framework-bom from 6.2.1 to 6.2.2 #3716
  • Bump io.projectreactor:reactor-bom from 2024.0.1 to 2024.0.2 #3715
  • Bump org.springframework.data:spring-data-bom from 2024.1.1 to 2024.1.2 #3714
  • Bump io.micrometer:micrometer-tracing-bom from 1.4.1 to 1.4.2 #3713

❤️ Contributors

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

@bky373