Skip to content

Releases: spring-projects/spring-kafka

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

v3.3.0

18 Nov 20:43
Compare
Choose a tag to compare

⭐ New Features

  • Some generics optimization in the MessagingMessageListenerAdapter #3620
  • Use Locale.ROOT for locale neutral, case insensitive comparisons #3608
  • Lower the replication factor for transactions topic when using embedded Kafka broker for tests #3557
  • Log conversion failures in batch listeners #3555

🐞 Bug Fixes

  • Potential Bug: Missing Failed Records During Async Operation #3638
  • Duplicate header processing in BatchMessagingMessageConverter#processRecord() #3589

📔 Documentation

  • Update broken Git documentation link to correct URL #3606
  • Refine docs for improved accuracy #3604
  • Refine docs for consistency and correctness #3588
  • Example in Producer/Consumer Interceptors section of Spring Framework documentation need to be fixed #3587

🔨 Dependency Upgrades

  • Bump com.fasterxml.jackson:jackson-bom from 2.18.0 to 2.18.1 #3616
  • Bump kafkaVersion from 3.8.0 to 3.8.1 #3615

❤️ Contributors

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

@JiwonKKang and @bky373

v3.2.5

18 Nov 20:20
Compare
Choose a tag to compare

⭐ New Features

  • Use Locale.ROOT for locale neutral, case insensitive comparisons #3609

🐞 Bug Fixes

  • NullPointerException in AbstractKafkaHeaderMapper #3583
  • @KafkaListener containerPostProcessor SpEL expression is not being evaluated #3552
  • Docs say defaultRetryTopicKafkaTemplate is the default template bean name. @RetryableTopic javadoc says retryTopicDefaultKafkaTemplate #3547

🔨 Dependency Upgrades

  • Bump io.micrometer:micrometer-tracing-bom from 1.3.5 to 1.3.6 #3632
  • Bump io.projectreactor:reactor-bom from 2023.0.11 to 2023.0.12 #3631
  • Bump org.springframework:spring-framework-bom from 6.1.14 to 6.1.15 #3630
  • Bump io.micrometer:micrometer-bom from 1.13.6 to 1.13.8 #3629
  • Bump org.springframework.data:spring-data-bom from 2024.0.5 to 2024.0.6 #3628
  • Bump com.fasterxml.jackson:jackson-bom from 2.17.2 to 2.17.3 #3613
  • Bump io.projectreactor:reactor-bom from 2023.0.10 to 2023.0.11 #3573
  • Bump org.springframework:spring-framework-bom from 6.1.13 to 6.1.14 #3572
  • Bump io.micrometer:micrometer-bom from 1.13.5 to 1.13.6 #3571
  • Bump org.springframework.retry:spring-retry from 2.0.9 to 2.0.10 #3570
  • Bump org.springframework.data:spring-data-bom from 2024.0.4 to 2024.0.5 #3569
  • Bump io.micrometer:micrometer-tracing-bom from 1.3.4 to 1.3.5 #3568