Skip to content

Modify the pubsub example to have custom span.#538

Merged
mukundansundar merged 1 commit into
dapr:masterfrom
artursouza:pubsub_tracing_example
May 3, 2021
Merged

Modify the pubsub example to have custom span.#538
mukundansundar merged 1 commit into
dapr:masterfrom
artursouza:pubsub_tracing_example

Conversation

@artursouza

Copy link
Copy Markdown
Contributor

Description

Added tracing example to PubSub.
Included command validation.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #537

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

Comment thread examples/src/main/java/io/dapr/examples/pubsub/http/README.md Outdated

@halspang halspang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a style nitpick.

@codecov

codecov Bot commented Apr 30, 2021

Copy link
Copy Markdown

Codecov Report

Merging #538 (c0c6e34) into master (7467575) will increase coverage by 0.13%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #538      +/-   ##
============================================
+ Coverage     80.52%   80.65%   +0.13%     
- Complexity      981      982       +1     
============================================
  Files            88       88              
  Lines          3024     3024              
  Branches        331      331              
============================================
+ Hits           2435     2439       +4     
+ Misses          423      420       -3     
+ Partials        166      165       -1     
Impacted Files Coverage Δ Complexity Δ
sdk/src/main/java/io/dapr/utils/Retry.java 75.00% <0.00%> (+25.00%) 2.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7467575...c0c6e34. Read the comment docs.

@halspang halspang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the examples are failing to build while they're fine on master. Not sure how this change could've broken them but is that something we should check out?

@artursouza

Copy link
Copy Markdown
Contributor Author

I will take a look.

@artursouza

Copy link
Copy Markdown
Contributor Author

I will take a look.

For some reason, it was doing findbug checks on examples. Which did not do after I reran it. Locally, I had the same experience but it worked after I did a mvn clean.

@artursouza artursouza requested a review from halspang May 3, 2021 17:45
@mukundansundar mukundansundar merged commit dfd0d5c into dapr:master May 3, 2021
fackee pushed a commit to fackee/java-sdk that referenced this pull request Mar 28, 2022
Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>
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.

Update PubSub example to include tracing

3 participants