Skip to content

Releases: spring-projects/spring-kafka

v3.3.7

17 Jun 18:14
Compare
Choose a tag to compare

⭐ New Features

  • propagate scope in async failures #3957

🐞 Bug Fixes

  • Random behavior in DelegatingByTypeSerializer based on type of delegates map #3974
  • A constructor that fails to validate null value properly #3921

🔨 Dependency Upgrades

  • Bump org.springframework.data:spring-data-bom from 2024.1.6 to 2024.1.7 #3969
  • Bump io.projectreactor:reactor-bom from 2024.0.6 to 2024.0.7 #3968
  • Bump org.springframework:spring-framework-bom from 6.2.7 to 6.2.8 #3967
  • Bump io.micrometer:micrometer-tracing-bom from 1.4.6 to 1.4.7 #3966
  • Bump com.fasterxml.jackson:jackson-bom from 2.18.4 to 2.18.4.1 #3965
  • Bump io.micrometer:micrometer-bom from 1.14.7 to 1.14.8 #3964

v3.2.10

17 Jun 14:01
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Random behavior in DelegatingByTypeSerializer based on type of delegates map #3976
  • A constructor that fails to validate null value properly #3922

🔨 Dependency Upgrades

  • Bump io.micrometer:micrometer-bom from 1.13.14 to 1.13.15 #3962
  • Bump org.springframework.data:spring-data-bom from 2024.0.12 to 2024.0.13 #3961
  • Bump io.micrometer:micrometer-tracing-bom from 1.3.12 to 1.3.13 #3960
  • Bump io.projectreactor:reactor-bom from 2023.0.18 to 2023.0.19 #3959
  • Bump org.springframework:spring-framework-bom from 6.1.20 to 6.1.21 #3958

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