-
Notifications
You must be signed in to change notification settings - Fork 630
Closed
Description
In the current implementation of StreamBridge, when a message is published to a dynamic destination, the following code creates a local messageChannel:
messageChannel = this.isAsync() ? new ExecutorChannel(this.executorService) : new DirectWithAttributesChannel();
((AbstractSubscribableChannel) messageChannel).setApplicationContext(applicationContext);
((AbstractSubscribableChannel) messageChannel).setComponentName(destinationName);
However, this messageChannel does not have an ObservationRegistry registered with it. As a result, the messages sent through this dynamically created channel are published without observability support, which means tracing is missing.
Expected Behavior:
Ideally, StreamBridge should ensure that any dynamically created messageChannel is configured with an ObservationRegistry, enabling observability features for all messages published through these channels.
Metadata
Metadata
Assignees
Labels
No labels