Skip to content

Add Channels with no subscribers to config map#568

Merged
knative-prow-robot merged 1 commit into
knative:masterfrom
grantr:configmap-no-subscribers
Oct 31, 2018
Merged

Add Channels with no subscribers to config map#568
knative-prow-robot merged 1 commit into
knative:masterfrom
grantr:configmap-no-subscribers

Conversation

@grantr
Copy link
Copy Markdown
Contributor

@grantr grantr commented Oct 30, 2018

If a channel has no subscribers, it should still be in the configmap. This allows the dispatcher to respond with a 202 to a publish request (then drop the published event).

Release Note

In-memory channels with no subscribers now respond to publishes with the same status code.

/cc @adamharwayne

If a channel has no subscribers, it should still be in the configmap.
This allows the dispatcher to respond with a 202 to a publish request
(then drop the published event).
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Oct 30, 2018
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: grantr

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

The pull request process is described here

Details 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

@knative-prow-robot knative-prow-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 30, 2018
@knative-metrics-robot
Copy link
Copy Markdown

The following is the coverage report on pkg/.
Say /test pull-knative-eventing-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/controller/eventing/inmemory/channel/reconcile.go 98.6% 98.6% 0.0

@adamharwayne
Copy link
Copy Markdown
Contributor

/lgtm

We agreed to add the unit test in a quick follow up.

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 31, 2018
adamharwayne pushed a commit to Harwayne/knative-eventing that referenced this pull request Oct 31, 2018
@knative-prow-robot knative-prow-robot merged commit 9761d89 into knative:master Oct 31, 2018
adamharwayne pushed a commit to Harwayne/knative-eventing that referenced this pull request Oct 31, 2018
adamharwayne pushed a commit to Harwayne/knative-eventing that referenced this pull request Oct 31, 2018
@grantr grantr deleted the configmap-no-subscribers branch October 31, 2018 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants