Skip to content

Commit 6815803

Browse files
authored
Fix Invalid exposeGroupId in Docs
#1030 (comment) We removed the property from the annotation during PR review, but failed to correct the docs.
1 parent a4a969c commit 6815803

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/receiving-messages/listener-group-id.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Alternatively, you can access the group id in a method parameter.
99

1010
[source, java]
1111
----
12-
@KafkaListener(id = "bar", topicPattern = "${topicTwo:annotated2}", exposeGroupId = "${always:true}")
13-
public void listener(@Payload String foo,
12+
@KafkaListener(id = "id", topicPattern = "someTopic")
13+
public void listener(@Payload String payload,
1414
@Header(KafkaHeaders.GROUP_ID) String groupId) {
1515
...
1616
}

0 commit comments

Comments
 (0)