From 0e4993406e68549aa0093ecfcbb9de4169837797 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Thu, 7 Sep 2017 17:21:15 -0400 Subject: [PATCH] Fix What's New --- .../{changes-1.0-1.1.adoc => changes-since-1.0.adoc} | 6 +++++- src/reference/asciidoc/whats-new.adoc | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) rename src/reference/asciidoc/{changes-1.0-1.1.adoc => changes-since-1.0.adoc} (91%) diff --git a/src/reference/asciidoc/changes-1.0-1.1.adoc b/src/reference/asciidoc/changes-since-1.0.adoc similarity index 91% rename from src/reference/asciidoc/changes-1.0-1.1.adoc rename to src/reference/asciidoc/changes-since-1.0.adoc index e7acc609..b33da218 100644 --- a/src/reference/asciidoc/changes-1.0-1.1.adoc +++ b/src/reference/asciidoc/changes-since-1.0.adoc @@ -1,4 +1,8 @@ -[[migration-1.0-1.1]] +[[migration]] +=== Changes between 1.1 and 1.2 + +This version uses the 0.10.2.x client. + === Changes between 1.0 and 1.1 ==== Kafka Client diff --git a/src/reference/asciidoc/whats-new.adoc b/src/reference/asciidoc/whats-new.adoc index 3660167a..80a4547a 100644 --- a/src/reference/asciidoc/whats-new.adoc +++ b/src/reference/asciidoc/whats-new.adoc @@ -28,6 +28,11 @@ See <>, <> and <> for more d You can now configure a `KafkaListenerErrorHandler` to handle exceptions. See <> for more information. +By default, the `@KafkaListener` `id` property is now used as the `group.id` property, overriding the property configured in the consumer factory (if present). +Further, you can explicitly configure the `groupId` on the annotation. +Previously, you would have needed a separate container factory (and consumer factory) to use different `group.id` s for listeners. +To restore the previous behavior of using the factory configured `group.id`, set the `idIsGroup` property on the annotation to `false`. + ==== @EmbeddedKafka Annotation For convenience a test class level `@EmbeddedKafka` annotation is provided with the purpose to register `KafkaEmbedded` as a bean.