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

Receiver handles ingress probes #1431

Conversation

pierDipi
Copy link
Member

@pierDipi pierDipi commented Nov 8, 2021

Probing is done using the knative/networking data-plane contract
(already implemented in Eventing through knative/pkg).
ref issue knative/eventing#3911

This is part of our work to reduce e2e tests' flakiness.

Proposed Changes

  • Receiver handles ingress probes

Release Note


Docs

@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Nov 8, 2021
@knative-prow-robot knative-prow-robot added area/data-plane size/L Denotes a PR that changes 100-499 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 8, 2021
@pierDipi pierDipi changed the title Receiver handles ingress probes [WIP] Receiver handles ingress probes Nov 8, 2021
@knative-prow-robot knative-prow-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 8, 2021
@codecov
Copy link

codecov bot commented Nov 8, 2021

Codecov Report

Merging #1431 (e0de981) into main (d3815d2) will increase coverage by 1.99%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #1431      +/-   ##
============================================
+ Coverage     71.41%   73.41%   +1.99%     
+ Complexity      584      581       -3     
============================================
  Files           100      101       +1     
  Lines          3964     3949      -15     
  Branches        166      164       -2     
============================================
+ Hits           2831     2899      +68     
+ Misses          915      810     -105     
- Partials        218      240      +22     
Flag Coverage Δ
java-unittests 82.23% <100.00%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...g/kafka/broker/receiver/impl/ReceiverVerticle.java 97.67% <100.00%> (+0.23%) ⬆️
...ver/impl/handler/ControlPlaneProbeRequestUtil.java 100.00% <100.00%> (ø)
...receiver/impl/handler/MethodNotAllowedHandler.java 100.00% <100.00%> (ø)
...a/broker/dispatcher/impl/RecordDispatcherImpl.java 81.92% <0.00%> (-0.64%) ⬇️
...dispatcher/impl/consumer/OrderedOffsetManager.java
...spatcher/impl/consumer/UnorderedOffsetManager.java
...broker/dispatcher/impl/consumer/OffsetManager.java 100.00% <0.00%> (ø)
control-plane/pkg/prober/cache.go 94.28% <0.00%> (ø)
control-plane/pkg/reconciler/channel/controller.go 86.00% <0.00%> (+0.28%) ⬆️
...r/dispatcher/main/ConsumerVerticleFactoryImpl.java 88.07% <0.00%> (+1.58%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d3815d2...e0de981. Read the comment docs.

@pierDipi pierDipi force-pushed the SRVKE-957_Data-plane-probe-handling branch from 7f324c3 to 6793983 Compare November 8, 2021 12:23
Probing is done using the knative/networking data-plane contract
(already implemented in Eventing through knative/pkg).
ref issue knative/eventing#3911

Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
@pierDipi pierDipi force-pushed the SRVKE-957_Data-plane-probe-handling branch from 6793983 to e19b137 Compare November 8, 2021 12:24
@pierDipi pierDipi changed the title [WIP] Receiver handles ingress probes Receiver handles ingress probes Nov 8, 2021
@knative-prow-robot knative-prow-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 8, 2021
Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
@pierDipi pierDipi force-pushed the SRVKE-957_Data-plane-probe-handling branch from 63cc43d to e0de981 Compare November 10, 2021 10:59
Copy link
Contributor

@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 Nov 10, 2021
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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

@knative-prow-robot knative-prow-robot merged commit da9c0fb into knative-extensions:main Nov 10, 2021
@pierDipi pierDipi deleted the SRVKE-957_Data-plane-probe-handling branch November 10, 2021 19:12
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. area/data-plane cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants