-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Propagate pubsub subscriber errors #185
Merged
Merged
Conversation
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
Signed-off-by: Scott Nichols <nicholss@google.com>
08da032
to
efd195b
Compare
Signed-off-by: Scott Nichols <nicholss@google.com>
markpeek
reviewed
Sep 11, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
b727c45
to
c08d6a0
Compare
n3wscott
added a commit
to n3wscott/sdk-go
that referenced
this pull request
Sep 20, 2019
* Found a blocking issue on pubsub transport if a subscriber had an error. Signed-off-by: Scott Nichols <nicholss@google.com> * make sure cancel is called Signed-off-by: Scott Nichols <nicholss@google.com> * go mod. Signed-off-by: Scott Nichols <nicholss@google.com>
n3wscott
added a commit
to n3wscott/sdk-go
that referenced
this pull request
Sep 20, 2019
* Found a blocking issue on pubsub transport if a subscriber had an error. Signed-off-by: Scott Nichols <nicholss@google.com> * make sure cancel is called Signed-off-by: Scott Nichols <nicholss@google.com> * go mod. Signed-off-by: Scott Nichols <nicholss@google.com> Signed-off-by: Scott Nichols <nicholss@google.com>
n3wscott
added a commit
that referenced
this pull request
Sep 20, 2019
* starting to add context for 0.4 Signed-off-by: Scott Nichols <nicholss@google.com> * Enabling Pub/Sub to send and receive from multiple topics and subscriptions. (#171) Signed-off-by: Scott Nichols <nicholss@google.com> * Code and examples for proposed changes/additions to transport APIs (#164) Please see the code and doc for details. Signed-off-by: Alan Conway <aconway@redhat.com> Signed-off-by: Scott Nichols <nicholss@google.com> * fix a syntax error in a logw line. (#174) Signed-off-by: Scott Nichols <nicholss@google.com> * Changing Send signature: Adding Context return param (#177) Signed-off-by: nachocano <nachoacano@gmail.com> Signed-off-by: Scott Nichols <nicholss@google.com> * Renamed pkg/cloudevents/transport/x to pkg/binding (#181) Main types are binding.Message, binding.Sender and binding.Receiver which reads well in code, corresponds to CE spec use of the term "binding", and avoids clashes with existing package name "transport". Part of #180 - The AMQP transport will be re-factored to use this package. Signed-off-by: Alan Conway <aconway@redhat.com> Signed-off-by: Scott Nichols <nicholss@google.com> * fix extra header write. (#179) Signed-off-by: Scott Nichols <nicholss@google.com> * fix codec v0.3 double quote encoding (#184) Signed-off-by: Diego Marangoni <diegomarangoni@me.com> Signed-off-by: Scott Nichols <nicholss@google.com> * Propagate pubsub subscriber errors (#185) * Found a blocking issue on pubsub transport if a subscriber had an error. Signed-off-by: Scott Nichols <nicholss@google.com> * make sure cancel is called Signed-off-by: Scott Nichols <nicholss@google.com> * go mod. Signed-off-by: Scott Nichols <nicholss@google.com> Signed-off-by: Scott Nichols <nicholss@google.com> * Fix nil pointer exception in codec timestamp handling (#187) Signed-off-by: Scott Nichols <nicholss@google.com> * Leaked a debug line. (#189) Signed-off-by: Scott Nichols <nicholss@google.com> * preping for v1.0, adjusting the interfaces. Signed-off-by: Scott Nichols <nicholss@google.com> * fix a typo on the godoc. Signed-off-by: Scott Nichols <nicholss@google.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Found a blocking issue on pubsub transport if a subscriber had an error. The subscriber would never be able to signal up to the parent that it was ready because the Receive method would block until the parent context was finished.
Fixed.