Skip to content

Releases: spring-projects/spring-kafka

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

v3.1.10

18 Nov 20:02
Compare
Choose a tag to compare

⭐ New Features

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

🐞 Bug Fixes

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

🔨 Dependency Upgrades

  • Bump org.springframework:spring-framework-bom from 6.1.14 to 6.1.15 #3637
  • Bump org.springframework.data:spring-data-bom from 2023.1.11 to 2023.1.12 #3636
  • Bump io.projectreactor:reactor-bom from 2023.0.11 to 2023.0.12 #3635
  • Bump io.micrometer:micrometer-tracing-bom from 1.2.11 to 1.2.12 #3634
  • Bump io.micrometer:micrometer-bom from 1.12.11 to 1.12.13 #3633
  • Bump io.micrometer:micrometer-bom from 1.12.10 to 1.12.11 #3579
  • Bump io.projectreactor:reactor-bom from 2023.0.10 to 2023.0.11 #3578
  • Bump io.micrometer:micrometer-tracing-bom from 1.2.10 to 1.2.11 #3577
  • Bump org.springframework:spring-framework-bom from 6.1.13 to 6.1.14 #3576
  • Bump org.springframework.data:spring-data-bom from 2023.1.10 to 2023.1.11 #3575
  • Bump org.springframework.retry:spring-retry from 2.0.9 to 2.0.10 #3574

v3.3.0-RC1

21 Oct 19:28
Compare
Choose a tag to compare
v3.3.0-RC1 Pre-release
Pre-release

⭐ New Features

  • Add TaskScheduler option for Kafka metrics components #3561
  • Improving Observability in Asynchronous Processing (CompletableFuture, Mono) #3528
  • KafkaListener with property overrides: overridden properties are not applied to key- and value-deserializers #3526
  • Customize Instantiation of KafkaStreams in StreamsBuilderFactoryBean #3515
  • Allow @Override of KafkaAdmin createAdmin() #3483
  • KafkaHeaders.DELIVERY_ATTEMPT is not added for batch listeners #3407
  • @RetryableTopic not working for asynchronous @KafkaListener return types #3276

🐞 Bug Fixes

  • NullPointerException in AbstractKafkaHeaderMapper #3581
  • @KafkaListener containerPostProcessor SpEL expression is not being evaluated #3544
  • Docs say defaultRetryTopicKafkaTemplate is the default template bean name. @RetryableTopic javadoc says retryTopicDefaultKafkaTemplate #3514
  • Code example in the documentation for Dynamically Creating Containers - Prototype Beans (Kotlin) is wrong #3513

📔 Documentation

  • Fix typos across multiple documents #3538

🔨 Dependency Upgrades

  • Bump org.junit:junit-bom from 5.11.2 to 5.11.3 #3586
  • Bump org.springframework.retry:spring-retry from 2.0.9 to 2.0.10 #3566
  • Bump mockitoVersion from 5.14.1 to 5.14.2 #3565
  • Bump org.junit:junit-bom from 5.11.1 to 5.11.2 #3531
  • Bump log4jVersion from 2.24.0 to 2.24.1 #3530
  • Bump org.junit:junit-bom from 5.11.0 to 5.11.1 #3519

❤️ Contributors

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

@bky373, @chickenchickenlove, @engkimbs, @esperar, @kwonyonghyun, @shalk, and @yhao3

v3.3.0-M3

16 Sep 20:25
Compare
Choose a tag to compare
v3.3.0-M3 Pre-release
Pre-release

⭐ New Features

  • Update toSting() methods in KafkaEvent subclasses #3502
  • Code refactoring #3476
  • Wrong comparison of server bootstrap addresses in KafkaTemplate.afterSingletonsInstantiated #3466
  • Allow @DltHandler Method to be Defined in a parent class of class annotated with @KafkaListener #3463
  • Add the possibility to customize DeadLetterPublishingRecovererFactory logging #3424

🐞 Bug Fixes

  • Warning log when using AnnotationEnhancer #3467

🔨 Dependency Upgrades

  • Bump org.springframework.data:spring-data-bom from 2024.0.3 to 2024.0.4 #3494
  • Bump org.springframework.retry:spring-retry from 2.0.8 to 2.0.9 #3493

❤️ Contributors

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

@bky373

v3.2.4

16 Sep 17:08
Compare
Choose a tag to compare

⭐ New Features

  • Wrong comparison of server bootstrap addresses in KafkaTemplate.afterSingletonsInstantiated #3472
  • Allow @DltHandler Method to be Defined in a parent class of class annotated with @KafkaListener #3465

🐞 Bug Fixes

  • Warning log when using AnnotationEnhancer #3469

🔨 Dependency Upgrades

  • Bump io.micrometer:micrometer-bom from 1.13.3 to 1.13.4 #3491
  • Bump io.micrometer:micrometer-tracing-bom from 1.3.3 to 1.3.4 #3490
  • Bump org.springframework.retry:spring-retry from 2.0.8 to 2.0.9 #3489
  • Bump io.projectreactor:reactor-bom from 2023.0.9 to 2023.0.10 #3488
  • Bump org.springframework:spring-framework-bom from 6.1.12 to 6.1.13 #3487
  • Bump org.springframework.data:spring-data-bom from 2024.0.3 to 2024.0.4 #3486

v3.1.9

16 Sep 16:52
Compare
Choose a tag to compare

⭐ New Features

  • Wrong comparison of server bootstrap addresses in KafkaTemplate.afterSingletonsInstantiated #3473

🐞 Bug Fixes

  • Warning log when using AnnotationEnhancer #3470

🔨 Dependency Upgrades

  • Bump org.springframework:spring-framework-bom from 6.1.12 to 6.1.13 #3501
  • Bump org.springframework.data:spring-data-bom from 2023.1.9 to 2023.1.10 #3500
  • Bump org.springframework.retry:spring-retry from 2.0.8 to 2.0.9 #3499
  • Bump io.projectreactor:reactor-bom from 2023.0.9 to 2023.0.10 #3498
  • Bump io.micrometer:micrometer-bom from 1.12.9 to 1.12.10 #3497
  • Bump io.micrometer:micrometer-tracing-bom from 1.2.9 to 1.2.10 #3496

v3.3.0-M2

19 Aug 21:11
Compare
Choose a tag to compare
v3.3.0-M2 Pre-release
Pre-release

⭐ New Features

  • Upgrade to Spring Kafka 3.8.0 #3416
  • Error handler throws an exception on blocking retries #3409
  • Deserialization error for Acknowledgement in Spring Kafka Listener #3400
  • Use the original key in reply messages when using ReplyingKafkaTemplate and SendTo #3395

🐞 Bug Fixes

  • AnnotationEnhancer always return the old attributes #3425
  • Incorrect JavaDoc for KafkaMessageHeaderAccessor.getBlockingRetryDeliveryAttempt() #3408
  • KafkaAdmin clusterId configuration is ignored when observability is enabled and bootstrap supplier is not set #3402
  • KafkaConsumer.close() no longer triggers the DefaultKafkaConsumerFactory.listener.removeConsumer() #3375
  • Revise AbstractConsumerSeekAware.onPartitionsAssigned() for concurreny #3373
  • Fence the MessageLisnterContainer restart once the ConcurrentMessageListenerContainer is stopped #3371
  • ConcurrentMessageListenerContainer isChildRunning API is returning false even though active MessageListenerContainer instances are processing messages. #3338

📔 Documentation

  • Fix typos in the EnableKafka and tips.adoc #3412
  • Fix retry topic documentation for class-level configuration #3396

🔨 Dependency Upgrades

  • Bump org.springframework.retry:spring-retry from 2.0.7 to 2.0.8 #3437
  • Bump org.junit:junit-bom from 5.11.0-RC1 to 5.11.0 #3436
  • Bump org.springframework.data:spring-data-bom from 2024.0.2 to 2024.0.3 #3435
  • Bump org.junit:junit-bom from 5.11.0-M2 to 5.11.0-RC1 #3405
  • Bump kotlinVersion from 1.9.24 to 1.9.25 #3383

❤️ Contributors

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

@bky373 and @chickenchickenlove