spring-cloud / spring-cloud-stream

Framework for building Event-Driven Microservices
http://cloud.spring.io/spring-cloud-stream
Apache License 2.0
1.01k stars 614 forks source link

Expose `RabbitBinderConfigurationProperties.enableObservation` property similar to the one in `KafkaBinderConfigurationProperties` #2902

Open artembilan opened 9 months ago

artembilan commented 9 months ago

Right now we do enable observation in RabbitMQ Binder endpoints unconditionally when an ObservationRegistry bean in present in the application context. For consistency it is better to leave the choice up to end-user independently of the environment. See TODO in the RabbitMessageChannelBinder.