Skip to content

[ADDED] JetStream: Expose ClientTrace in JetStreamOptions #1886

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2025

Conversation

piotrpio
Copy link
Collaborator

@piotrpio piotrpio commented Jun 22, 2025

Make ClientTrace accessible through Options() method.

This will be useful to be able to use the same callbacks when extending jetstream from external libraries (e.g. orbit.go)

Signed-off-by: Piotr Piotrowski piotr@synadia.com

Make ClientTrace field publicly accessible through Options() method.
Returns a copy to maintain read-only contract.

Signed-off-by: Piotr Piotrowski <piotr@synadia.com>
@coveralls
Copy link

Coverage Status

coverage: 84.715% (-0.05%) from 84.76%
when pulling 2e0dbdd on expose-trace-as-option
into 0879849 on main.

@piotrpio piotrpio marked this pull request as ready for review June 22, 2025 08:22
@piotrpio piotrpio requested a review from Jarema June 22, 2025 21:40
Copy link
Member

@Jarema Jarema left a comment

Choose a reason for hiding this comment

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

LGTM

@piotrpio piotrpio merged commit ccb20c2 into main Jun 30, 2025
7 checks passed
@piotrpio piotrpio deleted the expose-trace-as-option branch June 30, 2025 10:04
@piotrpio piotrpio mentioned this pull request Jul 29, 2025
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.

3 participants