Over a million developers have joined DZone.

Spring for Apache Kafka 1.1.0 Milestone 2 Available

Spring for Apache Kafka has released its latest milestone, 1.1.0.M2! Come find out how to get it and what it makes available!

· Java Zone

Navigate the Maze of the End-User Experience and pick up this APM Essential guide, brought to you in partnership with CA Technologies

I am pleased to announce that the second milestone for Spring for Apache Kafka version 1.1.0.M2 is now available in the spring milestone repo.

This includes some bug fixes and the following new features:

@KafkaListener(id = "list", topics = "myTopic",
                          containerFactory = "batchFactory")
public void listen(List<String> list) {
    ...
}
  • You can now perform seek operations from the listener — this allows setting an initial offset when partitions are assigned by Kafka when using group management. You can also perform arbitrary seek operations after initialization.

The KafkaTemplate now provides access to the metrics and partitionsFor methods on the Producer.

In addition, the first milestone of spring-integration-kafka version 2.1 is now available, utilizing the spring-kafka 1.1.0.M2 version. It also supports batch payloads.

See the project page for links to documentation and more information.

Thrive in the application economy with an APM model that is strategic. Be E.P.I.C. with CA APM.  Brought to you in partnership with CA Technologies.

Topics:
spring ,kafka ,apache ,version ,release

Published at DZone with permission of Gary Russell. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}