zipkin-go
zipkin-go copied to clipboard
Add GCP Cloud PubSub reporter
What
- Originally this PR is from https://github.com/openzipkin/zipkin-go/pull/142
- It seems stale and taking over the that PR
- Add GCP Cloud reporter
Why
- https://github.com/openzipkin/zipkin-gcp/issues/132
- https://github.com/openzipkin/zipkin-go/pull/142#issuecomment-558739097
Coverage increased (+2.4%) to 67.92% when pulling 89d56c947a44a56d79a0d0384ed4dc76b25ddade on KeisukeYamashita:add-gcp-pubsub-exporter into d761b1950c490079bfbfab289c129f46ee5d6f33 on openzipkin:master.
Coverage decreased (-4.9%) to 60.568% when pulling 386fed93880345f68d93b06b94d90f7e08091a41 on KeisukeYamashita:add-gcp-pubsub-exporter into d761b1950c490079bfbfab289c129f46ee5d6f33 on openzipkin:master.
I will use stubReporter. Working on in now.
I introduce stubReporter and stubClient.
In the previous https://github.com/openzipkin/zipkin-go/pull/142, the pubsub topic will be nil and the test will always pass.
Any feedback @basvanbeek ?