File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
spring-kafka-docs/src/main/antora/modules/ROOT/pages Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -67,3 +67,30 @@ See xref:kafka/seek.adoc#seek[Seek API Docs] for more details.
67
67
When this constructor is used, the framework calls the function with the input argument of the current consumer offset position.
68
68
See xref:kafka/seek.adoc#seek[Seek API Docs] for more details.
69
69
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
+ |===
You can’t perform that action at this time.
0 commit comments