Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fix: removing delivery attempt attribute when dead lettering is not e…
…nabled (#72) * fix: creating fix to not populate delivery attempt attribute when dead lettering is not enabled * Adding unit test for case in which a received message has no delivery attempt
- Loading branch information
Showing
with
46 additions
and 10 deletions.
- +10 −4 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/MessageDispatcher.java
- +5 −2 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java
- +28 −2 google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MessageDispatcherTest.java
- +3 −2 google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriberTest.java
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters