spring-kafka

Provides Familiar Spring Abstractions for Apache Kafka

APACHE-2.0 License

Stars
2.1K
Committers
215

Bot releases are visible (Hide)

spring-kafka - https://github.com/spring-projects/spring-kafka/releases/tag/v3.1.2

Published by github-actions[bot] 8 months ago

⭐ New Features

  • Provide a recovery callback for the execute method of RetryingDeserializer #3036
  • Provide a way to support Consumer#enforceRebalance #3024
  • minor improvement DelegatingInvocableHandler and AKLE relate #2976
  • GH-2974 Add NonNullApi and NonNullFields to package-info.java in 'annotation' package #2974
  • minor improvement error handler related #2970
  • GH-2967: Some minor improvements in RetryableTopicAnnotationProcessor #2967
  • improvements in MessagingMessageListenerAdapter and KafkaUtils #2962

🐞 Bug Fixes

  • False warning log for not committed offsets on CooperativeStickyAssignor strategy #2991
  • Can't recognize original exception when abortTransaction() failed #2981
  • spring doc website link needs updating #2979
  • DefaultErrorHandler#handleBatchAndReturnRemaining recovered invalid #2968
  • Spring Kafka Wait For Assignment Failed After Update To SpringBoot 3.2.0 #2978

πŸ“” Documentation

  • Closing MockProducer options in reference docs #2965

πŸ”¨ Dependency Upgrades

  • Upgrade dependecies before release #3027
  • Bump io.micrometer:micrometer-bom from 1.12.1 to 1.12.2 #2989
  • Bump io.projectreactor:reactor-bom from 2023.0.1 to 2023.0.2 #2988
  • Bump org.springframework:spring-framework-bom from 6.1.2 to 6.1.3 #2987
  • Bump io.micrometer:micrometer-tracing-bom from 1.2.1 to 1.2.2 #2986
  • Bump org.springframework.data:spring-data-bom from 2023.1.1 to 2023.1.2 #2985
  • Bump kotlinVersion from 1.9.21 to 1.9.22 #2973

❀️ Contributors

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

@NathanQingyangXu, @Wzy19930507, and @jitokim

spring-kafka - https://github.com/spring-projects/spring-kafka/releases/tag/v3.0.14

Published by github-actions[bot] 8 months ago

🐞 Bug Fixes

  • False warning log for not committed offsets on CooperativeStickyAssignor strategy #2995
  • Can't recognize original exception when abortTransaction() failed #2993
  • Fix KafkaTemplate.clusterId() for concurrency #2946
  • Annotation TopicPartition - partition attribute was not resolved from… #2938
  • Unable to send null payload with KafkaTemplate#send(Message) #2928

πŸ”¨ Dependency Upgrades

  • Upgrade dependecies before release #3026
spring-kafka - https://github.com/spring-projects/spring-kafka/releases/tag/v3.1.1

Published by github-actions[bot] 10 months ago

⭐ New Features

  • minor improvement to klabpp and knapar #2947
  • fix a default method defect in ConsumerFactory #2945
  • minor adjustment at MessagingMessageListenerAdapter #2941
  • minor improvement to DefaultKafkaHeaderMapper #2940
  • Fix typo at KafkaMessageListenerContainer and ContainerProperties #2939
  • reuse RecordHeader in AggregatingReplyingKafkaTemplate #2932
  • fix some defects of setting default Message headers in MessagingMessageListenerAdapter #2908
  • Free exceptions from ConsumerAwareRebalanceListener #2887

🐞 Bug Fixes

  • Fix KafkaTemplate.clusterId() for concurrency #2943
  • No parameter resolver for EmbeddedKafkaZKBroker #2927
  • Unable to send null payload with KafkaTemplate#send(Message) #2924
  • Annotation TopicPartition - partition attribute was not resolved from… #2246

πŸ“” Documentation

  • Fix typo in javadoc #2935
  • RoutingKafkaTemplate configuration is throwing error after spring boot 3.1.2 #2921
  • EmbeddedKafkaKraftBroker.kafkaPorts(int... ports) is ignored #2916

πŸ”¨ Dependency Upgrades

  • Bump io.micrometer:micrometer-bom from 1.12.0 to 1.12.1 #2960
  • Bump org.springframework.data:spring-data-bom from 2023.1.0 to 2023.1.1 #2959
  • Bump org.junit:junit-bom from 5.10.0 to 5.10.1 #2958
  • Bump io.projectreactor:reactor-bom from 2023.0.0 to 2023.0.1 #2957
  • Bump log4jVersion from 2.21.0 to 2.21.1 #2956
  • Bump io.micrometer:micrometer-tracing-bom from 1.2.0 to 1.2.1 #2955
  • Bump kotlinVersion from 1.9.10 to 1.9.21 #2953
  • Bump org.springframework:spring-framework-bom from 6.1.0 to 6.1.2 #2952
  • Bump org.springframework.retry:spring-retry from 2.0.4 to 2.0.5 #2951
  • Bump kafkaVersion from 3.6.0 to 3.6.1 #2950

❀️ Contributors

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

@NathanQingyangXu, @Wzy19930507, @dependabot[bot], @dogglezz, @michaldo, and @s7474

spring-kafka - v3.1.0

Published by garyrussell 11 months ago

⭐ New Features

  • remove unnecessary property setting statement in EmbeddedKafkaKraftBroker #2893
  • GH-2654: Incorrect retry topic suffix #2876
  • The TRUSTED_PACKAGES field in the DefaultJackson2JavaTypeMapper has also been improved to have an ImmutableList type. #2875
  • No early bean initialization from EmbeddedKafkaContextCustomizer #2870
  • GH-2862: Add Option to Log Recovery to DLPR #2869
  • Support Validator in ErrorHandlingDeserializer #2861
  • GH-2731: fix count and time ack mode #2858
  • If cluster id is null and observation is enabled, KafkaTemplate tries to retrieve it on each produce #2853
  • Provide a way to define a ContainerCustomizer per KafkaListener #2825

🐞 Bug Fixes

  • Fix TX Check in RoutingKafkaTemplate #2899
  • Fix Issues in DefaultKafkaProducerFactory#updateConfigs() #2897
  • Under-documented "Manually Assigning All Partitions" #2891
  • add a missing left quote in AbstractKafkaListenerEndpoint#getEndpointDescription() #2882
  • fix CONSUMER_RECORDS_CLASS_NAME constant error in KafkaAvroBeanRegistrationAotProcessor.java #2881
  • ProducerInterceptor in KafkaTempalte unvaild #2874
  • Admin is boot up by turning on observability #2859

πŸ“” Documentation

  • Improve Documentation about Acknowledgment.nack() #2906
  • Improve Documentation: State on OOO-Commits page that AsyncAcks cannot be combined with nack() #2905
  • remove 'dead links' in javadocs #2896
  • Update testing.adoc > "@EmbeddedKafka Annotation with JUnit5" section #2894
  • fix some typos #2885
  • update reference documentation gradle task in README.md #2880
  • cosmetic doc improvements part 4 #2879
  • cosmetic doc improvements part 3 #2877
  • some cosmetic improvements of the reference - part 2 #2873
  • Streams Doc Polishing #2871
  • Reference Doc Improvements #2867

πŸ”¨ Dependency Upgrades

  • Upgrade Dependency Versions #2911
  • CVE-2023-44981 for zookeeper version #2898

πŸ”¨ Tasks

  • Eliminate the Use of StringBuffer #2909

❀️ Contributors

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

@Alchemik, @NathanQingyangXu, @Wzy19930507, @ch4570, @pat-goins, and @powibol

External Links

spring-kafka - v3.0.13

Published by garyrussell 11 months ago

⭐ New Features

  • If cluster id is null and observation is enabled, KafkaTemplate tries to retrieve it on each produce #2856

🐞 Bug Fixes

  • Under-documented "Manually Assigning All Partitions" #2901
  • The result of ProducerInterceptor.onSend() is out of use #2884
  • Fix CONSUMER_RECORDS_CLASS_NAME constant error in KafkaAvroBeanRegistrationAotProcessor #2883

πŸ”¨ Dependency Upgrades

  • Upgrade Dependency Versions #2910
  • Upgrade Spring Retry Version #2848

πŸ”¨ Tasks

  • Add kafka-server-common Transitive Test Dependency #2849

❀️ Contributors

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

@Wzy19930507

External Links

spring-kafka -

Published by artembilan almost 1 year ago

⭐ New Features

  • Remove proxy in DefaultKafkaConsumerFactory #2822
  • Support KRaft mode for EmbeddedKafkaBroker #2391

🐞 Bug Fixes

  • KafkaAdmin NPE With Typo in Config Name #2832
  • CommonDelegatingErrorHandler: Missing updateClassifier() in addDelegate() #2826
  • KafkaTemplate is reporting 2 errors to observation on immediate errors (one in callback and one in catched exception from the same callback) #2817

πŸ“” Documentation

  • Fix Invalid exposeGroupId in Docs #2828

πŸ”¨ Dependency Upgrades

  • Upgrade to Apache Kafka 3.6.0 #2827

πŸ”¨ Tasks

  • Fix Compiler Warnings #2816
  • Prepare for 3.6.0 Client #2815

External Links

spring-kafka - v3.0.12

Published by garyrussell about 1 year ago

🐞 Bug Fixes

  • Remove Arrays.toString() from JsonDeserializer #2839
  • KafkaAdmin NPE With Typo in Config Name #2834
  • CommonDelegatingErrorHandler: Missing updateClassifier() in addDelegate() #2830
  • KafkaTemplate is reporting 2 errors to observation #2824

πŸ”¨ Dependency Upgrades

  • Upgrade Spring Framework, Data, Micrometer, Reactor Versions #2846

πŸ”¨ Tasks

  • Deprecate DestinationTopicPropertiesFactory CTORs #2793
  • Remove outdated comments in ListenerContainerFactoryConfigurer #2776

❀️ Contributors

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

@WhiteDG

External Links

spring-kafka - v2.9.13

Published by garyrussell about 1 year ago

🐞 Bug Fixes

  • Remove Arrays.toString() from JsonDeserializer #2840
  • KafkaAdmin NPE With Typo in Config Name #2835
  • CommonDelegatingErrorHandler: Missing updateClassifier() in addDelegate() #2831

πŸ“” Documentation

  • Document Using Kafka 3.6.0 With This Version #2844

πŸ”¨ Dependency Upgrades

  • Upgrade Micrometer, Reactor, Spring Data Versions #2845

πŸ”¨ Tasks

  • Remove outdated comments in ListenerContainerFactoryConfigurer #2788

External Links

spring-kafka - v3.1.0-M1

Published by garyrussell about 1 year ago

πŸ“” Documentation

πŸ”¨ Tasks

  • Initial docs-deploy #2802
  • Remove deprecated interfaces, classes, and methods #2797
  • Output of asciidoctorPdf can be pulled from cache when run on machines with different checkout directories #2794
  • Move main to 3.1; Upgrade Dependency Versions #2790
  • Examine synchronized Blocks #2730
  • Remove ThreadLocal Usage #2729

❀️ Contributors

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

@erichaagdev, @esperar, and @rwinch

External Links

spring-kafka - v3.0.11

Published by garyrussell about 1 year ago

🐞 Bug Fixes

  • Fix Invalid Warning Log With Non-Blocking Retries #2784
  • ParseStringDeserializer throws NullPointerException when message is null #2779

External Links

spring-kafka - v2.9.12

Published by garyrussell about 1 year ago

🐞 Bug Fixes

  • Fix Invalid Warning Log With Non-Blocking Retries #2787
  • ParseStringDeserializer throws NullPointerException when message is null #2783

External Links

spring-kafka - v3.0.10

Published by garyrussell about 1 year ago

⭐ New Features

  • Private Header Type for DeserializationExceptions #2770
  • Add KafkaMessageHeaderAccessor #2767
  • Consider to expose a spring.kafka.bootstrap-servers System property with EmbeddedKafkaBroker #2750
  • Partial positive acknowledge support for BatchAcknowledgingMessageListener #2066

🐞 Bug Fixes

  • AdminClient doesn't use configured properties while starting a container listener #2762
  • Sync Gradle .module Files to Maven #2753

πŸ”¨ Dependency Upgrades

  • Upgrade Jackson, Micrometer, Reactor, Spring Data Versions #2778
  • Upgrade Gradle, SonarQub, Jacoco, NoHttp Versions #2758

πŸ”¨ Tasks

  • Add ConfigFile Runtime Hint (for JAAS) #2772
  • Implement Lifecycle in DefaultKafkaProducerFactory #2760
  • Clean Up Gradle Enterprise Config #2757
  • Refactor DeserializationException Detection Code #2756

External Links

spring-kafka - v2.9.11

Published by garyrussell about 1 year ago

⭐ New Features

  • Private Header Type for DeserializationExceptions #2771

🐞 Bug Fixes

  • AdminClient doesn't use configured properties while starting a container listener #2764

πŸ”¨ Dependency Upgrades

  • Upgrade Micrometer, Reactor, Spring Data Versions #2777

External Links

spring-kafka - v3.0.9

Published by garyrussell over 1 year ago

⭐ New Features

  • FallbackBatchErrorHandler - Consider Seeking and Exiting Retries When Container is Paused #2742
  • Make KafkaAdmin Easier to Subclass and Add a Filter Mechanism #2720
  • GH-2709: Preserve existing JAAS configuration #2713
  • Add DLPR Creator Function to DeadLetterPublishingRecovererFactory #2711

🐞 Bug Fixes

  • Possible dead lock between DefaultKafkaProducerFactory.expire and DefaultKafkaProducerFactory.removeProducer #2744
  • GH-2738: Pausing container results in WakeupException without retrying failed listener invocation #2739
  • NullPointerException in KafkaRecordReceiverContext #2736
  • Fix Race Condition in DelegatingInvocableHandler #2723
  • Behavior Change When Interceptor Throws an Exception #2722

πŸ“” Documentation

  • Fix typo in BackOffValuesGenerator #2741
  • Minor typo in Handling Exceptions section of docs #2716

πŸ”¨ Dependency Upgrades

  • Upgrade Spring Framework, Data, Micrometer, Reactor Versions #2746

❀️ Contributors

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

@WhiteDG, @antonio-tomac, and @edanidzerda

External Links

spring-kafka - v2.9.10

Published by garyrussell over 1 year ago

⭐ New Features

  • Make KafkaAdmin Easier to Subclass and Add a Filter Mechanism #2726
  • GH-2709: Preserve existing JAAS configuration #2718
  • Auto Config Non-Blocking Retries with asyncAcks #2707

🐞 Bug Fixes

  • Possible dead lock between DefaultKafkaProducerFactory.expire and DefaultKafkaProducerFactory.removeProducer #2748
  • Pausing container results in WakeupException without retrying failed listener invocation #2740
  • Behavior Change When Interceptor Throws an Exception #2728
  • Fix Race Condition in DelegatingInvocableHandler #2725

πŸ”¨ Dependency Upgrades

  • Upgrade Spring Framework, Data, Micrometer, Reactor Versions #2745

❀️ Contributors

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

@antonio-tomac and @edanidzerda

External Links

spring-kafka - v3.0.8

Published by garyrussell over 1 year ago

⭐ New Features

  • MMConverter Support Custom Partition Selection #2703
  • Auto Config Non-Blocking Retries with asyncAcks #2702
  • Consider providing custom KafkaSender to ReactiveKafkaProducerTemplate #2190

🐞 Bug Fixes

  • Default Empty Map for PF configurationProperties #2700
  • Incompatible with @Nested class test #2692

πŸ“” Documentation

  • Non-Blocking Retries don't work with BatchListener #2699
  • Fixed Typo #2698
  • docs: fix Javadoc of CommonErrorHandler::remainingRecords #2691
  • docs: fix name of overriden method #2684

πŸ”¨ Dependency Upgrades

  • Upgrade Spring Framework, Data, Retry, Micrometer, Reactor Versions #2710

❀️ Contributors

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

@rajadilipkolli, @sculeb, and @tbcs

External Links

spring-kafka - v3.0.7

Published by garyrussell over 1 year ago

⭐ New Features

  • Add MockProducerFactory and MockConsumerFactory #2673
  • Better exception message header for DLT #2671

🐞 Bug Fixes

  • Fix CommonErrorHandler for asyncAcks and AckMode.MANUAL #2677
  • Fix Race in Micrometer Test #2661

πŸ“” Documentation

  • Howewever -> However #2670

πŸ”¨ Dependency Upgrades

  • Upgrade Spring Framework, Data, Reactor, Micrometer Versions #2682

πŸ”¨ Tasks

  • Expose user exception thrown during rebalance #2667
  • Remove duplicate native hint registration. #2659

❀️ Contributors

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

@MatejNedic and @michaldo

External Links

spring-kafka - v2.9.9

Published by garyrussell over 1 year ago

🐞 Bug Fixes

  • Fix CommonErrorHandler for asyncAcks and AckMode.MANUAL #2679
  • Fix Race in Micrometer Test #2662

πŸ”¨ Dependency Upgrades

  • Upgrade Spring Data, Micrometer Versions #2681

External Links

spring-kafka - v3.0.6

Published by garyrussell over 1 year ago

⭐ New Features

  • GH-2638: Support Dynamic Tags via Observation #2650
  • Support Dynamic Micrometer Tags Based on Consumer/Producer Record #2638

🐞 Bug Fixes

  • Races in KafkaListenerAnnotationBeanPostProcessor on scope=prototype bean instantiation #2642
  • "resetStateOnExceptionChange" has no effect, because the cause of "ListenerExecutionFailedException" is always a "TimestampedException" #2641

πŸ“” Documentation

  • Missing upgrade section in the documentation for KafkaHeaders changes #2640

πŸ”¨ Dependency Upgrades

  • Upgrade Spring Framework, Data, Micrometer, Reactor, JUnit Versions #2657

External Links

spring-kafka - v2.9.8

Published by garyrussell over 1 year ago

⭐ New Features

  • Support Dynamic Micrometer Tags Based on Consumer/Producer Record #2649

🐞 Bug Fixes

  • "resetStateOnExceptionChange" has no effect, because the cause of "ListenerExecutionFailedException" is always a "TimestampedException" #2646
  • Races in KafkaListenerAnnotationBeanPostProcessor on scope=prototype bean instantiation #2644

πŸ”¨ Dependency Upgrades

  • Upgrade Spring Framework, Data, Reactor, Micrometer Versions #2656

External Links

Package Rankings
Top 2.68% on Repo1.maven.org
Top 8.17% on Proxy.golang.org
Badges
Extracted from project README
Build Status Revved up by Develocity
Related Projects