Comments (12)
Hey @mosesn,
First off, thanks for looking into Zipkin.
I'm not sure I get what you're trying to do. Is there a reason the original build files (Project.scala, build.sbt and plugins.sbt) don't work for you?
from finagle.
I'm trying to compile just finagle-zipkin, so that I can include it in another project like so:
libraryDependencies += "com.twitter" %% "finagle-zipkin" "1.0-SNAPSHOT"
and then fetch it from my local repository. If I try to publish-local using the original build files, I get all of finagle in my local repo, which is not what I want. Also, the reason I am trying to publish-local in the first place instead of fetching from twttr is that I ran into problems with compatibility that I'm betting are because finagle-zipkin isn't cross-compiled on twttr.
from finagle.
Aha, I see. Are there parts of finagle-zipkin you need but you don't need finagle-core and finagle-thrift? If there's a good reason to split that up further to make it easier we can consider it. For finagle-zipkin as a whole to function it needs finagle-thrift in order to send the data to the Zipkin collectors.
from finagle.
I am working with a slightly hacked version of finagle that is current up to 3.0.0. Since the API for finagle hasn't changed since then, it seemed like it would be fine as long as I compiled it to the same version of scala. The only problem is that finagle-zipkin didn't exist back in the day.
from finagle.
I can't remember exact versions but it's possible that it was called finagle-b3 back then. It's basically the same, we had to rename the project before open sourcing Zipkin.
from finagle.
are you saying that I can find a ZipkinTracer in finagle-b3?
from finagle.
You can find the equivalent in there. finagle-b3 has something called BigBrotherBirdTracer, that was the name for ZipkinTracer before. It might have some small differences though, such as it uses a different Scribe category. I assume it's not possible for you to contribute your Finagle changes and upgrade to the latest version?
from finagle.
I don't know what all of the changes are, I'll talk to someone who does and see what's up. In the mean time, do you know why I can't find scribe.ServiceToClient? It seems to be something that your thrift can do, based on #45, but it can't be done with scrooge, as far as I can tell.
from finagle.
I believe that stuff is part of the generated code that sbt-thrift creates.
from finagle.
Is sbt-thrift compatible with build.sbt?
from finagle.
To be honest I don't know. I think it might be easier to just use finagle-b3 until you upgrade and either change the category there or just change the zipkin collector config to allow the b3 collector: var categories: Set[String] = Set("b3") or similar.
from finagle.
Alright, good to know. I'm working on getting us upgraded to what's current, so probably at least one of these will pan out. Thanks for the help!
from finagle.
Related Issues (20)
- Scala 3 support HOT 3
- Unexpected Netty TLS 1.3 warnings HOT 1
- Update the Netty to latest version greater than 4.1.78.Final to remove the vulnerability CVE-2022-24823 HOT 1
- Growth of the number of prepared statements on server
- DeadlineFilter takes `rejectWithdrawal` regardless of passed Deadline HOT 1
- Custom Monitor not picked up for the ChannelStatsHandler HOT 1
- Finagle `22.7.0` uses vulnerable `jackson-databind` dependency: `2.13.3` HOT 1
- Is Finagle still maintained? HOT 11
- Netty (and other) dependency upgrades HOT 1
- Upgrade to netty 4.1.86.Final in Finagle HOT 3
- How do you calculate your retry budget? HOT 1
- Homepage broken image HOT 1
- Cors Filter does an add to the HeaderMap instead of set
- How to use the partitioning strategy with the http client? HOT 2
- com.twitter.finagle.Http not work HOT 3
- Methodbuilder retry budget gets double deposit HOT 2
- Update the Netty to latest version greater than 4.1.94.Final to remove the vulnerability CVE-2023-34462 HOT 2
- Fix CVE-2023-44487 HOT 1
- How to limit the finagle/RPC's max request size HOT 1
- finagle-http: Http methodbuilder does not allow setting sendInterrupts flag to backup request filter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finagle.