Spring For Apache Kafka 2.0 Milestone 1 Available
We are very pleased to announce the availability of the first milestone of the Spring for Apache Kafka 2.0 release 2.0.0.M1.
Significant new features in the 2.0 line include:
-
Support for timestamps in the
KafkaTemplate
. -
Seek to beginning/end of topics.
-
New threading model facilitated by KIP-62 - now that the consumer client does not rely on
poll()
being called frequently, the threading model is much simpler; avoiding the need for internalpause()
/resume()
processing. Listeners are now always invoked on the consumer thread. This, in turn, has facilitated: -
…ConsumerAwareMessageListener
(andBatchConsumerAwareMessageListener
) are provided so that listener implementations can access theConsumer<?, ?>
object to perform operations such aspause()
,resume()
,metrics()
etc.