Spring for Apache Kafka 2.3 released

Spring for Apache Kafka 2.3 was released. Spring for Apache Kafka (spring-kafka) project will be the core of Spring concept to deliver solutions based on Kafka's message. It provides a "template" as a high-level abstraction to send a message, as well as notes and messages with @KafkaListener "listener container (listener container)" driven POJO support. These libraries to promote the use of dependency injection and statements.

This release updates the main contents include:

Producing

  • In each thread producers use Optionally, to avoid blocking other threads when you refresh.

  • It provides AggregatingReplyingKafkaTemplate extension to ReplyingKafkaTemplate to multiple aggregated responses from consumers

Consuming

  • You can now add a RecordInterceptor before calling the listener to modify the record.

  • ConsumerSeekAware now supports relative search.

  • The processing delay can now be specified on a poll () results sent the next poll () between.

  • With manual AckMode, we can now confirm negative record, and the container will perform the necessary searches to replay recording.

Kafka Streams

  • Now it provides a deserialization exception RecoveringDeserializationExceptionHandler for processing.

  • Providing HeaderEnricherTransformer to add a flow topology definition header.

  • It provides MessagingTransformer to allow calls from Spring Integration stream flow definition.

Miscellaneous

  • Providing delegate serialization and deserialization implemented to allow transmission / reception comprising different types of recording.

Details View Update:

https://spring.io/blog/2019/10/02/spring-for-apache-kafka-2-3-is-now-available

Guess you like

Origin www.oschina.net/news/110320/spring-for-apache-kafka-2-3-released