Skip to content

Conversation

ngocnhan-tran1996
Copy link
Contributor

Closes gh-3115

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
@@ -221,6 +221,14 @@ public void setObservationEnabled(boolean observationEnabled) {
this.observationEnabled = observationEnabled;
}

/**
* Set an observation convention; used to add additional key/values to observations.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that custom convention is only for key/value.
Let's call it like:

* Set a custom {@link RabbitStreamTemplateObservationConvention}.

No need to specific and confusion.

/**
* Set an observation convention; used to add additional key/values to observations.
* @param observationConvention the convention.
* @since 4.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3.2.6, please.

We are going to back-port this as a bug.

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
@artembilan artembilan merged commit e97976c into spring-projects:main Jul 7, 2025
3 checks passed
@artembilan
Copy link
Member

Thank you for contribution, @ngocnhan-tran1996 !
As always!
Please, consider next time to add Fixes: sentence into commit message.
The first commit from your branch becomes a pull request description.
So, having all the useful info in the commit message helps us to save some typing time.
Plus, that Fixes: in the commit message closes an issue automatically.

@ngocnhan-tran1996 ngocnhan-tran1996 deleted the gh-3115 branch July 8, 2025 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setter for RabbitStreamTemplateObservationConvention in RabbitStreamTemplate
2 participants