-
Notifications
You must be signed in to change notification settings - Fork 126
Remove Thrift headers from Jaeger public headers #172
Conversation
Adresses jaegertracing#121 so that thrift is a private dependency of jaeger. Signed-off-by: Benoit De Backer <[email protected]>
✅ Build jaeger-client-cpp 35 completed (commit 83c834d476 by @BeDeBaMu) |
@mdouaihy could you review this? |
Hi, It’s a minimal fix that should solve the primary concern.
Benefits expected:
Do you have any particular concerns regarding these proposals? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BeDeBaMu, with your change, we no longer have the thrift includes in the public headers.
However, you had to forward declare some classes as the thrift transformation is accessible through methods of the public classes.
@yurishkuro I think that the change is ok but we need to continue the work to remove any reference to thrift completely from any public object (header, classed) as suggested.
Hi @yurishkuro, I just want you to know that @BeDeBaMu and I are from the same organisation. Before I validate, I want to check that it's not a problem for you. |
@mdouaihy this is the purpose of my 4th item |
Any way to see how this change impacts https://github.com/envoyproxy/envoy/tree/master/examples/jaeger-native-tracing ? |
I just tested manually and it's working. However; I noticed that the build-plugin script needs to be updated to build a version linking statically it's dependencies. I ll add an issue for that. |
does this resolve #121 ? |
Adresses Remove Thrift headers from Jaeger public headers #121
so that thrift is a private dependency of jaeger.
Moved the minimal set of code from .h to .cpp to avoid thrift-gen headers to be exposed as part of the API.
Signed-off-by: Benoit De Backer [email protected]