Skip to content

Commit 2271724

Browse files
committed
1 parent 5e0489e commit 2271724

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

spring-kafka-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,30 @@ See xref:kafka/seek.adoc#seek[Seek API Docs] for more details.
6767
When this constructor is used, the framework calls the function with the input argument of the current consumer offset position.
6868
See xref:kafka/seek.adoc#seek[Seek API Docs] for more details.
6969

70+
[[x32-default-clientid-prefix]]
71+
=== Spring Boot application name as default client ID prefix
72+
73+
For Spring Boot applications which define an application name using the `spring.application.name` property, this name is now used
74+
as a default prefix for auto-generated client IDs for these client types:
75+
76+
- consumer clients which don't use a consumer group
77+
- producer clients
78+
- admin clients
79+
80+
.Example client ids resulting for a Spring Boot application with `spring.application.name=myapp`
81+
[%autowidth]
82+
|===
83+
|Client Type |Before |After
84+
85+
|consumer without consumer group
86+
|consumer-null-1
87+
|myapp-consumer-1
88+
89+
|producer
90+
|producer-1
91+
|myapp-producer-1
92+
93+
|admin
94+
|adminclient-1
95+
|myapp-admin-1
96+
|===

0 commit comments

Comments
 (0)