Fix What's New

This commit is contained in:
Gary Russell
2017-09-07 17:21:15 -04:00
committed by Artem Bilan
parent 88f7f66170
commit 0e4993406e
2 changed files with 10 additions and 1 deletions

View File

@@ -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

View File

@@ -28,6 +28,11 @@ See <<kafka-template>>, <<kafka-listener-annotation>> and <<testing>> for more d
You can now configure a `KafkaListenerErrorHandler` to handle exceptions.
See <<annotation-error-handling>> 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.