Clarify docs for binding keys with special chars

Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2699
This commit is contained in:
Soby Chacko
2023-04-18 11:35:09 -04:00
parent 6c193d6b37
commit e407a9cf80

View File

@@ -273,6 +273,9 @@ Throughout this manual you will see examples of configuration properties such as
The `input` segment in this property name is what we refer to as _binding name_ and it could derive via several mechanisms.
The following sub-sections will describe the naming conventions and configuration elements used by spring-cloud-stream to control binding names.
NOTE: If your binding name has special characters, such as the `.` character, you need to surround the binding key with brackets (`[]`) and then wrap it in qoutes.
For example `spring.cloud.stream.bindings."[my.output.binding.key]".destination`.
===== Functional binding names
Unlike the explicit naming required by annotation-based support (legacy) used in the previous versions of spring-cloud-stream, the functional