Skip to content

Releases: spring-projects/spring-kafka

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

v3.3.1

16 Dec 22:18
Compare
Choose a tag to compare

⭐ New Features

  • Allow kafka-clients 3.9.x with Spring-Kafka 3.3.x #3662
  • Change "synchronized" to reentrant lock for virtual-threads #3652
  • Allow configuring observation registry directly #3643

🐞 Bug Fixes

  • Confusing warning in batch listener: No batch message converter is set. because record message converter is null. #3687
  • EmbeddedKafkaBroker consume with seekToEnd does not reliably seek to the end #3660
  • EmbeddedKafkaCustomizer ignores adminTimeout in EmbeddedKafka annotation #3658
  • Value parameters in ReactiveKafkaProducerTemplate should be nullable #3617

📔 Documentation

  • Fix dead page url in filtering.adoc #3648
  • Calling .nack() suspends consumer group rebalance #2128

🔨 Dependency Upgrades

  • Bump org.junit:junit-bom from 5.11.3 to 5.11.4 #3688
  • Bump org.springframework:spring-framework-bom from 6.2.0 to 6.2.1 #3677
  • Bump org.springframework.data:spring-data-bom from 2024.1.0 to 2024.1.1 #3676
  • Bump io.micrometer:micrometer-bom from 1.14.1 to 1.14.2 #3675
  • Bump log4jVersion from 2.24.2 to 2.24.3 #3674
  • Bump org.springframework.retry:spring-retry from 2.0.10 to 2.0.11 #3673
  • Bump io.micrometer:micrometer-tracing-bom from 1.4.0 to 1.4.1 #3672
  • Bump io.projectreactor:reactor-bom from 2024.0.0 to 2024.0.1 #3671
  • Bump com.fasterxml.jackson:jackson-bom from 2.18.1 to 2.18.2 #3654
  • Bump log4jVersion from 2.24.1 to 2.24.2 #3647

❤️ Contributors

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

@bky373, @cfredri4, @omercelikceng, @pszymczyk, and @sobychacko

v3.2.6

16 Dec 18:26
Compare
Choose a tag to compare

⭐ New Features

  • Change "synchronized" to reentrant lock for virtual-threads #3669

🐞 Bug Fixes

  • EmbeddedKafkaBroker consume with seekToEnd does not reliably seek to the end #3668
  • EmbeddedKafkaCustomizer ignores adminTimeout in EmbeddedKafka annotation #3666
  • Value parameters in ReactiveKafkaProducerTemplate should be nullable #3659

🔨 Dependency Upgrades

  • Bump io.projectreactor:reactor-bom from 2023.0.12 to 2023.0.13 #3685
  • Bump org.springframework:spring-framework-bom from 6.1.15 to 6.1.16 #3684
  • Bump io.micrometer:micrometer-tracing-bom from 1.3.6 to 1.3.7 #3683
  • Bump org.springframework.data:spring-data-bom from 2024.0.6 to 2024.0.7 #3682
  • Bump io.micrometer:micrometer-bom from 1.13.8 to 1.13.9 #3681
  • Bump org.springframework.retry:spring-retry from 2.0.10 to 2.0.11 #3680
  • Bump kafkaVersion from 3.7.1 to 3.7.2 #3679