Skip to content
This repository has been archived by the owner on Jun 19, 2022. It is now read-only.

CloudPubSubSource to Push mode #522

Merged
merged 6 commits into from
Jan 24, 2020

Conversation

nachocano
Copy link
Member

Cherry-pick #521

Proposed Changes

  • Setting the CloudPubSubSource to always emit Push-compatible format. If users want Pull format, then they should use PullSubscription.
  • Adding a PullSubscriptionArgs struct, otherwise the method signature was getting to cumbersome.
  • Updating docs

Release Note

CloudPubSubSource now emits Push-based format events. If users want to keep on consuming Pull-based format, they should use PullSubscription. 

nachocano and others added 5 commits January 21, 2020 12:13
* Setting CloudPubSubSource to be push-based.
Adding a PullSubscriptionArgs struct

* updating docs

* making it public for e2e tests.
attempt to fix test

* rollback the change to boilerplate

* properly unmarshalling the message
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nachocano

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nachocano
Copy link
Member Author

/assign @capri-xiyue

@capri-xiyue
Copy link
Contributor

/lgtm

@capri-xiyue
Copy link
Contributor

/lgtm

@knative-prow-robot knative-prow-robot merged commit c557e14 into google:release-0.12 Jan 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants