Skip to content

[ADDED] JetStream: Expose ClientTrace in JetStreamOptions#1886

Merged
piotrpio merged 1 commit intomainfrom
expose-trace-as-option
Jun 30, 2025
Merged

[ADDED] JetStream: Expose ClientTrace in JetStreamOptions#1886
piotrpio merged 1 commit intomainfrom
expose-trace-as-option

Conversation

@piotrpio
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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