Skip to content
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

Change event type in Sequence with Broker example #2897

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

pierDipi
Copy link
Member

@pierDipi pierDipi commented Oct 7, 2020

If the event's type isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes #2851

Proposed Changes

  • Change event type in Sequence with Broker example

/label cherrypick-0.18
/label cherrypick-0.17
/label cherrypick-0.16

If the type of the event isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes knative#2851

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
@knative-prow-robot
Copy link
Contributor

@pierDipi: The label(s) /label cherrypick-0.18 , /label cherrypick-0.17 , /label cherrypick-0.16 cannot be applied. These labels are supported: proposal/0.11, proposal/0.12, proposal/0.13, proposal/0.14, proposal/0.15, proposal/0.16, proposal/0.17, proposal/0.18, proposal/0.19, channel/kafka, channel/natss, source/awssqs, source/camel, source/ceph, source/couchdb, source/github, source/kafka, source/prometheus

In response to this:

If the event's type isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes #2851

Proposed Changes

  • Change event type in Sequence with Broker example

/label cherrypick-0.18
/label cherrypick-0.17
/label cherrypick-0.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Oct 7, 2020
@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 7, 2020
@pierDipi
Copy link
Member Author

pierDipi commented Oct 7, 2020

/cc @abrennan89 @mpetason

@pierDipi
Copy link
Member Author

pierDipi commented Oct 7, 2020

I cannot add cherrypick-* labels 😭

Copy link
Member

@matzew matzew left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 7, 2020
@abrennan89
Copy link
Contributor

/approve
/lgtm
Thanks @pierDipi - added the cherrypick labels but you need to do this manually I think
@mattmoor any hopes of getting something automated for this? 🙂 🤞

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abrennan89, matzew, pierDipi

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

@mattmoor
Copy link
Member

mattmoor commented Oct 7, 2020

@abrennan89 I think it would be interesting to set up an action for this, but I'm reluctant to try and build it until knative/community#298 makes some progress.

@pierDipi
Copy link
Member Author

pierDipi commented Oct 8, 2020

> Could not GET 'https://jcenter.bintray.com/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar'. Received status code 504 from server: Gateway Time-out

/retest

@knative-prow-robot knative-prow-robot merged commit 40c985f into knative:master Oct 8, 2020
pierDipi added a commit to pierDipi/docs-1 that referenced this pull request Oct 8, 2020
If the type of the event isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes knative#2851

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
pierDipi added a commit to pierDipi/docs-1 that referenced this pull request Oct 8, 2020
If the type of the event isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes knative#2851

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
pierDipi added a commit to pierDipi/docs-1 that referenced this pull request Oct 8, 2020
If the type of the event isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes knative#2851

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
knative-prow-robot pushed a commit that referenced this pull request Oct 8, 2020
If the type of the event isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes #2851

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
knative-prow-robot pushed a commit that referenced this pull request Oct 8, 2020
If the type of the event isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes #2851

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
knative-prow-robot pushed a commit that referenced this pull request Oct 8, 2020
If the type of the event isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes #2851

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
rhuss pushed a commit to rhuss/docs that referenced this pull request Nov 6, 2020
…tive#2916)

If the type of the event isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes knative#2851

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
rhuss pushed a commit to rhuss/docs that referenced this pull request Nov 6, 2020
…tive#2916)

If the type of the event isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes knative#2851

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
knative-prow-robot pushed a commit that referenced this pull request Nov 6, 2020
* Change event type in Sequence with Broker example (#2897) (#2916)

If the type of the event isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes #2851

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>

* Reworked shell hello world example

* Reworked example to be a "true" shell example that is considerable different than the helloworld-go example
* Added examples for kn usage

(Fixed according to review comments)

Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
RichieEscarez pushed a commit to RichieEscarez/docs that referenced this pull request Mar 6, 2021
* Change event type in Sequence with Broker example (knative#2897) (knative#2916)

If the type of the event isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes knative#2851

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>

* Reworked shell hello world example

* Reworked example to be a "true" shell example that is considerable different than the helloworld-go example
* Added examples for kn usage

(Fixed according to review comments)

Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Page needs improvement
5 participants