You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default configuration overrides the specific configuration, instead of merge mechanism
Is it a bug or it works as designed?
If it works as designed, the param name "default" is ambiguous, because default usually can be overridden with non-default value
It would be very convenient behavior when default values can be overridden with specific ones
The text was updated successfully, but these errors were encountered:
Ensured that default property only takes affect if the actual binding property is not set.
For example if "spring.cloud.stream.bindings.output.producer.partitionCount=4" and "spring.cloud.stream.default.producer.partitionCount=1" are both set
the actual binidng property (i.e., 4) should take precedence
Resolvesspring-cloud#1359
I have a configuration
and someChannel.contentType is someDefaultContentType instead of someSpecificContentType
I've investigated the class
https://github.com/spring-cloud/spring-cloud-stream/blob/master/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/config/EnvironmentEntryInitializingTreeMap.java
Default configuration overrides the specific configuration, instead of merge mechanism
Is it a bug or it works as designed?
If it works as designed, the param name "default" is ambiguous, because default usually can be overridden with non-default value
It would be very convenient behavior when default values can be overridden with specific ones
The text was updated successfully, but these errors were encountered: