Skip to content

Releases: spring-projects/spring-kafka

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

v3.2.3

19 Aug 20:26
Compare
Choose a tag to compare

🐞 Bug Fixes

  • KafkaAdmin clusterId configuration is ignored when observability is enabled and bootstrap supplier is not set #3446
  • AnnotationEnhancer always return the old attributes #3444
  • Incorrect JavaDoc for KafkaMessageHeaderAccessor.getBlockingRetryDeliveryAttempt() #3419
  • Fence the MessageLisnterContainer restart once the ConcurrentMessageListenerContainer is stopped #3398
  • KafkaConsumer.close() no longer triggers the DefaultKafkaConsumerFactory.listener.removeConsumer() #3390

🔨 Dependency Upgrades

  • Bump io.micrometer:micrometer-bom from 1.13.2 to 1.13.3 #3434
  • Bump org.springframework:spring-framework-bom from 6.1.11 to 6.1.12 #3433
  • Bump io.projectreactor:reactor-bom from 2023.0.8 to 2023.0.9 #3432
  • Bump io.micrometer:micrometer-tracing-bom from 1.3.2 to 1.3.3 #3431
  • Bump org.springframework.retry:spring-retry from 2.0.7 to 2.0.8 #3430
  • Bump org.springframework.data:spring-data-bom from 2024.0.2 to 2024.0.3 #3429
  • Bump kotlinVersion from 1.9.24 to 1.9.25 #3379

v3.1.8

19 Aug 20:10
Compare
Choose a tag to compare

🐞 Bug Fixes

  • KafkaAdmin clusterId configuration is ignored when observability is enabled and bootstrap supplier is not set #3447
  • AnnotationEnhancer always return the old attributes #3445
  • Incorrect JavaDoc for KafkaMessageHeaderAccessor.getBlockingRetryDeliveryAttempt() #3420
  • Fence the MessageLisnterContainer restart once the ConcurrentMessageListenerContainer is stopped #3399

🔨 Dependency Upgrades

  • Bump org.springframework.data:spring-data-bom from 2023.1.8 to 2023.1.9 #3443
  • Bump io.micrometer:micrometer-tracing-bom from 1.2.8 to 1.2.9 #3442
  • Bump io.micrometer:micrometer-bom from 1.12.8 to 1.12.9 #3441
  • Bump org.springframework:spring-framework-bom from 6.1.11 to 6.1.12 #3440
  • Bump io.projectreactor:reactor-bom from 2023.0.8 to 2023.0.9 #3439
  • Bump org.springframework.retry:spring-retry from 2.0.7 to 2.0.8 #3438
  • Bump kotlinVersion from 1.9.24 to 1.9.25 #3387

v3.3.0-M1

15 Jul 21:12
Compare
Choose a tag to compare
v3.3.0-M1 Pre-release
Pre-release

⭐ New Features

  • Application receiving ContainerStoppedEvent even though active MessageListenerContainer instances are processing messages. #3340
  • Update misleading contents in ConsumerPartitionPausedEvent and features.adoc #3293
  • Possible inconsistency in DLT topic naming convention #3291
  • Add tracing headers to be mapped to string #3286
  • Receiving an empty list when using RecordFilterStrategy on batch messages #2806
  • consumer group specific offset seeking for AbstractConsumerSeekAware #2302

🐞 Bug Fixes

  • Reset Error reason after ConcurrentContainer is stopped #3372
  • Mismatch Between Registered and Found Callbacks in Multi-group Listener Cases #3328
  • getUnregisteredListenerContainer return null #3319
  • On kotlin application, Spring kafka 3.2.0 doesn't take the message conversion logic, because of the wrong coroutine detection on MessagingMessageListenerAdapter #3277

🔨 Dependency Upgrades

  • Bump io.projectreactor:reactor-bom from 2023.0.7 to 2023.0.8 #3363
  • Bump io.micrometer:micrometer-bom from 1.13.1 to 1.13.2 #3362
  • Bump org.springframework.data:spring-data-bom from 2024.0.1 to 2024.0.2 #3361
  • Bump org.springframework.retry:spring-retry from 2.0.6 to 2.0.7 #3360
  • Bump io.micrometer:micrometer-tracing-bom from 1.3.1 to 1.3.2 #3359
  • Bump kafkaVersion from 3.7.0 to 3.7.1 #3343
  • Bump com.fasterxml.jackson:jackson-bom from 2.17.1 to 2.17.2 #3342
  • Bump org.junit:junit-bom from 5.10.2 to 5.10.3 #3334
  • Bump io.micrometer:micrometer-tracing-bom from 1.3.0 to 1.3.1 #3303
  • Bump io.micrometer:micrometer-bom from 1.13.0 to 1.13.1 #3301
  • Bump org.springframework.data:spring-data-bom from 2024.0.0 to 2024.0.1 #3300
  • Bump io.projectreactor:reactor-bom from 2023.0.6 to 2023.0.7 #3299

❤️ Contributors

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

@LokeshAlamuri, @artembilan, and @bky373

v3.2.2

15 Jul 17:59
Compare
Choose a tag to compare

🐞 Bug Fixes

  • getUnregisteredListenerContainer return null #3321

🔨 Dependency Upgrades

  • Bump org.springframework:spring-framework-bom from 6.1.10 to 6.1.11 #3357
  • Bump io.micrometer:micrometer-bom from 1.13.1 to 1.13.2 #3356
  • Bump io.projectreactor:reactor-bom from 2023.0.7 to 2023.0.8 #3355
  • Bump org.springframework.retry:spring-retry from 2.0.6 to 2.0.7 #3354
  • Bump org.springframework.data:spring-data-bom from 2024.0.1 to 2024.0.2 #3353
  • Bump io.micrometer:micrometer-tracing-bom from 1.3.1 to 1.3.2 #3352
  • Bump com.fasterxml.jackson:jackson-bom from 2.17.1 to 2.17.2 #3345
  • Bump kafkaVersion from 3.7.0 to 3.7.1 #3344
  • Bump org.junit:junit-bom from 5.10.2 to 5.10.3 #3336
  • Bump org.springframework:spring-framework-bom from 6.1.9 to 6.1.10 #3324

v3.1.7

15 Jul 17:41
Compare
Choose a tag to compare

🐞 Bug Fixes

  • getUnregisteredListenerContainer return null #3322

🔨 Dependency Upgrades

  • Bump org.springframework:spring-framework-bom from 6.1.10 to 6.1.11 #3370
  • Bump io.projectreactor:reactor-bom from 2023.0.7 to 2023.0.8 #3369
  • Bump io.micrometer:micrometer-tracing-bom from 1.2.7 to 1.2.8 #3368
  • Bump org.springframework.data:spring-data-bom from 2023.1.7 to 2023.1.8 #3367
  • Bump io.micrometer:micrometer-bom from 1.12.7 to 1.12.8 #3366
  • Bump org.springframework.retry:spring-retry from 2.0.6 to 2.0.7 #3365
  • Bump org.junit:junit-bom from 5.10.2 to 5.10.3 #3337
  • Bump org.springframework:spring-framework-bom from 6.1.9 to 6.1.10 #3327

v3.2.1

17 Jun 17:54
Compare
Choose a tag to compare

⭐ New Features

  • Add tracing headers to be mapped to string #3287

🐞 Bug Fixes

  • On kotlin application, Spring kafka 3.2.0 doesn't take the message conversion logic, because of the wrong coroutine detection on MessagingMessageListenerAdapter #3289

🔨 Dependency Upgrades

  • Bump io.micrometer:micrometer-tracing-bom from 1.3.0 to 1.3.1 #3310
  • Bump org.springframework:spring-framework-bom from 6.1.8 to 6.1.9 #3309
  • Bump io.projectreactor:reactor-bom from 2023.0.6 to 2023.0.7 #3308
  • Bump io.micrometer:micrometer-bom from 1.13.0 to 1.13.1 #3306
  • Bump org.springframework.data:spring-data-bom from 2024.0.0 to 2024.0.1 #3305
  • Bump org.springframework:spring-framework-bom from 6.1.7 to 6.1.8 #3285

v3.1.6

17 Jun 17:36
Compare
Choose a tag to compare

⭐ New Features

  • Add tracing headers to be mapped to string #3288

🔨 Dependency Upgrades

  • Bump org.springframework.data:spring-data-bom from 2023.1.6 to 2023.1.7 #3316
  • Bump io.projectreactor:reactor-bom from 2023.0.6 to 2023.0.7 #3315
  • Bump org.springframework:spring-framework-bom from 6.1.8 to 6.1.9 #3314
  • Bump io.micrometer:micrometer-tracing-bom from 1.2.6 to 1.2.7 #3313
  • Bump io.micrometer:micrometer-bom from 1.12.6 to 1.12.7 #3312
  • Bump org.springframework:spring-framework-bom from 6.1.7 to 6.1.8 #3279

v3.2.0

20 May 18:29
Compare
Choose a tag to compare

⭐ New Features

  • Implement CommonErrorHandler.handleOne() in CommonDelegatingErrorHandler #3227

🐞 Bug Fixes

  • Documentation for configuring custom ConsumerFactory and ProducerFactory beans when using Spring Boot is incorrect #3242
  • Switch EmbeddedKafaka#kraft default to false #3238
  • Creation of kafkaJaasInitializer bean fails in a read-only filesystem due to creation of temporary file #3217
  • KafkaTemplate currentSpan tagging issue #3210

📔 Documentation

  • Adding more whats-new for kakfa-client 3.7.0 #3253
  • Minor docs cleanup #3245
  • Update Boot versions in docs #3233
  • Embedded Kafka throws NoSuchFileException #3225
  • Fix enforceRebalance #3215
  • Fix ackDiscarded. #3212

🔨 Dependency Upgrades

  • Bump org.springframework.data:spring-data-bom from 2024.0.0-SNAPSHOT to 2024.0.0 #3273
  • Bump org.springframework.retry:spring-retry from 2.0.5 to 2.0.6 #3272
  • Bump io.projectreactor:reactor-bom from 2023.0.5 to 2023.0.6 #3270
  • Bump org.springframework:spring-framework-bom from 6.1.6 to 6.1.7 #3269
  • Bump com.fasterxml.jackson:jackson-bom from 2.17.0 to 2.17.1 #3249
  • Bump kotlinVersion from 1.9.23 to 1.9.24 #3248
  • Bump org.jetbrains.kotlinx:kotlinx-coroutines-reactor from 1.8.0 to 1.8.1 #3247

❤️ Contributors

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

@bky373, @chickenchickenlove, @nachomdo, and @sobychacko

v3.1.5

20 May 18:11
Compare
Choose a tag to compare

⭐ New Features

  • Implement CommonErrorHandler.handleOne() in CommonDelegatingErrorHandler #3230

🐞 Bug Fixes

  • Documentation for configuring custom ConsumerFactory and ProducerFactory beans when using Spring Boot is incorrect #3244
  • Creation of kafkaJaasInitializer bean fails in a read-only filesystem due to creation of temporary file #3219
  • KafkaTemplate currentSpan tagging issue #3213

🔨 Dependency Upgrades

  • Bump org.springframework:spring-framework-bom from 6.1.6 to 6.1.7 #3262
  • Bump org.springframework.data:spring-data-bom from 2023.1.5 to 2023.1.6 #3261
  • Bump io.projectreactor:reactor-bom from 2023.0.5 to 2023.0.6 #3260
  • Bump org.springframework.retry:spring-retry from 2.0.5 to 2.0.6 #3259
  • Bump io.micrometer:micrometer-tracing-bom from 1.2.5 to 1.2.6 #3258
  • Bump io.micrometer:micrometer-bom from 1.12.5 to 1.12.6 #3257
  • Bump kotlinVersion from 1.9.23 to 1.9.24 #3252