apache / apache/pulsar-client-go

How to use pulsartracing given it's an internal package

Open
#941 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
745
Forks
389
Avg merge
3d 20h
Merged PRs (30d)
3

Description

Hi there,

I'm trying to produce tracing spans alongside my messages and seems like `pulsartracing` would do the job quite well.

The problem is that, according to the documentation (https://pkg.go.dev/github.com/apache/pulsar-client-go/pulsar/internal/pulsartracing#section-readme), the interceptor needs to be injected within the `ProducerOptions`, which I'm struggling to do given that the package is internal.

Is there any solution other than copy&paste the whole package?

Thank you

Contributor guide

Open the contributing guide

Research direction

Start with the pulsartracing README and the ProducerOptions entry point to trace how the interceptor is injected and why the internal package boundary applies. The issue is done when a supported public usage path, or a documented limitation and alternative, is established in the relevant documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.