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
To avoid repetition, Spring Cloud Stream supports setting values for all channels, in the format of spring.cloud.stream.default.=.
I want to configure kafka producer for all channels using the "default" prefix but this is not functioning. I found a solution which is not respecting the official documentation, please see below the configuration the 2 configurations
correct configuration respecting documentation but not functioning
@akhalifeh79 The docs you linked above are from very old versions. The latest documentation can be found here. We made some adjustments to the snapshot docs to clarify the issues with the default properties on the Kafka bindings.
As a referred in the following spring cloud documentation:
https://cloud.spring.io/spring-cloud-stream-binder-kafka/spring-cloud-stream-binder-kafka.html#kafka-producer-properties
Particularly this phrase
To avoid repetition, Spring Cloud Stream supports setting values for all channels, in the format of spring.cloud.stream.default.=.
I want to configure kafka producer for all channels using the "default" prefix but this is not functioning. I found a solution which is not respecting the official documentation, please see below the configuration the 2 configurations
correct configuration respecting documentation but not functioning
spring.cloud.stream.default.producer.sync=false
spring.cloud.stream.default.producer.batchTimeout=60000
spring.cloud.stream.default.producer.compression=gzip
functioning configuration but not respecting documentation
spring.cloud.stream.kafka.default.producer.sync=false
spring.cloud.stream.kafka.default.producer.batchTimeout=60000
spring.cloud.stream.kafka.default.producer.compression=gzip
Please confirm that the second configuration is correct and in this case update the official documentation.
I'm using the last version of spring cloud
<spring-cloud.version>2023.0.0</spring-cloud.version>
Thanks
The text was updated successfully, but these errors were encountered: