Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

fix: removing delivery attempt attribute when dead lettering is not enabled - #72

Merged
hannahrogers-google merged 12 commits into
googleapis:masterfrom
hannahrogers-google:master
Jan 30, 2020
Merged

fix: removing delivery attempt attribute when dead lettering is not enabled#72
hannahrogers-google merged 12 commits into
googleapis:masterfrom
hannahrogers-google:master

Conversation

@hannahrogers-google

Copy link
Copy Markdown
Contributor

Fixes #67

When DLQ is not enabled, the delivery attempt attribute should not be populated on a PubsubMessage. The static helper function to get the delivery attempt should return null if the attribute is not set.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 29, 2020
@codecov

codecov Bot commented Jan 29, 2020

Copy link
Copy Markdown

Codecov Report

Merging #72 into master will increase coverage by 0.11%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #72      +/-   ##
============================================
+ Coverage     78.82%   78.94%   +0.11%     
- Complexity      291      292       +1     
============================================
  Files            21       21              
  Lines          2588     2588              
  Branches        129      129              
============================================
+ Hits           2040     2043       +3     
+ Misses          491      490       -1     
+ Partials         57       55       -2
Impacted Files Coverage Δ Complexity Δ
.../com/google/cloud/pubsub/v1/MessageDispatcher.java 85.64% <ø> (+1.48%) 25 <0> (+1) ⬆️

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 3738ec8...aecd4ca. Read the comment docs.

@hannahrogers-google hannahrogers-google added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 29, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 29, 2020
@hannahrogers-google hannahrogers-google added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 30, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 30, 2020
@hannahrogers-google
hannahrogers-google merged commit 535854d into googleapis:master Jan 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pubsub: add support for dead letter topics

4 participants