Releases: spring-projects/spring-kafka
Releases · spring-projects/spring-kafka
v4.0.0-M3
⭐ New Features
- Add KafkaListener support for shared consumer containers #3988
- Revise Nullability on class
MessagingMessageListenerAdapter
#3979 - propagate scope in async failures #3950
- Add Kafka shared consumer container support #3945
- support per-record observations in batch listeners #3944
- KafkaTestUtils unified consumerPros call #3938
- Polish StringOrBytesSerializer #3933
- Introduce share consumer factories for Kafka Queues (Early Access) #3923
- Add cache to optimize header match performance. #3879
- Support for KIP-932 Queues for Kafka #3875
- Deprecate JUnit 4 utilities in the project #3873
- Necessity of KafkaHandler on single method class #3807
- Adds the ability to add record interceptors instead of override them #3542
🐞 Bug Fixes
- ReplyingKafkaTemplate checks for default reply header name instead of custom one #3989
- Random behavior in DelegatingByTypeSerializer based on type of delegates map #3953
- MessageListenerContainer when stopped abnormally it sends ConsumerStoppedEvent with Reason as Normal #3948
- A constructor that fails to validate null value properly #3917
- Delete redundant null check #3915
- GH-3712: Make ContainerPausingBackOffHandler working in batch mode. #3885
- Should fail bean registration when no method listeners are registered. #3869
📔 Documentation
- Fix typos #3928
- Documentation: Clarify exception handlings behaviour for Error vs RuntimeException #3884
- The DefaultHandler resolves an incorrect value for the parameter annotated with
@Header
. #3880
🔨 Dependency Upgrades
- Bump io.micrometer:micrometer-tracing-bom from 1.5.1 to 1.5.2 #4007
- Bump com.fasterxml.jackson:jackson-bom from 2.19.1 to 2.19.2 #4006
- Bump io.micrometer:micrometer-bom from 1.15.1 to 1.15.2 #4005
- Bump org.junit:junit-bom from 5.13.2 to 5.13.3 #3991
- Bump org.junit:junit-bom from 5.13.1 to 5.13.2 #3986
- Bump io.micrometer:micrometer-tracing-bom from 1.5.0 to 1.5.1 #3973
- Bump com.fasterxml.jackson:jackson-bom from 2.19.0 to 2.19.1 #3972
- Bump io.micrometer:micrometer-bom from 1.15.0 to 1.15.1 #3971
- Bump org.junit:junit-bom from 5.13.0 to 5.13.1 #3951
- Bump io.projectreactor:reactor-bom from 2024.0.5 to 2024.0.6 #3896
- Bump org.springframework.retry:spring-retry from 2.0.11 to 2.0.12 #3893
- Bump kotlinVersion from 2.1.20 to 2.1.21 #3892
- Bump com.fasterxml.jackson:jackson-bom from 2.18.3 to 2.18.4 #3889
❤️ Contributors
Thank you to all the contributors who worked on this release:
@AlamuriLokesh, @bandalgomsu, @chickenchickenlove, @igormq, @mipo256, @ngocnhan-tran1996, @sh-cho, and @sobychacko
v3.3.8
🔨 Dependency Upgrades
- Bump io.micrometer:micrometer-bom from 1.14.8 to 1.14.9 #4003
- Bump org.springframework:spring-framework-bom from 6.2.8 to 6.2.9 #4002
- Bump io.projectreactor:reactor-bom from 2024.0.7 to 2024.0.8 #4001
- Bump io.micrometer:micrometer-tracing-bom from 1.4.7 to 1.4.8 #4000
- Bump org.springframework.data:spring-data-bom from 2024.1.7 to 2024.1.8 #3999
v3.3.7
⭐ 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
🐞 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
🐞 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
⭐ 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
⭐ 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
returningnull
from theDelegatingInvocableHandler.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:
v3.3.5
⭐ 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
⭐ 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
andREADME
#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:
v3.3.4
⭐ 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