-
Notifications
You must be signed in to change notification settings - Fork 135
fix: configure idleTimeoutUnit as MILLISECONDS to avoid long client wait #4367
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
base: main
Are you sure you want to change the base?
fix: configure idleTimeoutUnit as MILLISECONDS to avoid long client wait #4367
Conversation
Hi @lamluongbinh. Thanks for your PR. I'm waiting for a knative-extensions member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
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.
Thanks a lot @lamluongbinh for this fix.
I only had one comment so far to make the linter happy.
Could you also include
Fixes #4342
In your PR description, so the issue gets linked and closed, when this PR gets merged.
/ok-to-test
data-plane/profiler/resources/config-kafka-broker-webclient.properties
Outdated
Show resolved
Hide resolved
Thanks @creydr for your review. I've already made the fixes you mentioned |
Thanks for updating it @lamluongbinh . Can you also check on your CLA (#4367 (comment))? |
data-plane/config/channel/100-config-kafka-channel-data-plane.yaml
Outdated
Show resolved
Hide resolved
c8edf4b
to
5793e05
Compare
/test upgrade-tests |
Shouldn't we make it consistent, everywhere? E.g. here is also that |
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lamluongbinh, matzew 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 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4367 +/- ##
==========================================
- Coverage 30.01% 29.99% -0.03%
==========================================
Files 290 290
Lines 19328 19351 +23
==========================================
+ Hits 5801 5804 +3
- Misses 13073 13094 +21
+ Partials 454 453 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@lamluongbinh see the verify task:
|
New changes are detected. LGTM label has been removed. |
Hey @matzew , I've run the Thanks! |
/retest-required |
@lamluongbinh your PR still needs the CLA authorization (see #4367 (comment)) |
b0a4224
to
7ab9f27
Compare
/retest-required |
1 similar comment
/retest-required |
/test upgrade-tests |
/test reconciler-tests |
/hold @lamluongbinh these |
9e7f1dc
to
3075c95
Compare
Looks like it is now outdated and needs a rebase. I think that is due to some incorrect merges .... IMO best approach is: |
3075c95
to
aee119b
Compare
aee119b
to
3f4b503
Compare
Hi @matzew, I've just found this: link. There is a delivery.timeout feature currently in beta, but it isn’t widely documented. DEFAULT_TIMEOUT_MS is set to 600,000L, meaning each request defaults to a 600-second timeout if the trigger doesn't explicitly specify one. If we set the idleTimeout too short, it might close the connection prematurely—before receiving any response from the client—and override the default timeout if the trigger doesn't specify one. Do you think we could increase the default idleTimeout to a longer duration, such as 30 minutes, instead of the change I maded - 10,000 ms? We will also need clearer documentation about the default timeout in our current setup. Additionally, regarding delivery timeout - link. It might be helpful to reference this and include it in our documentation as well. |
Hi @matzew, I've just finalized the setup on my end and tested the configuration in my system. Currently, we've adjusted the idle timeout setting to 30 minutes. By default, Istio sets the idle timeout to 1 hour, but I wanted a more stringent limit while ensuring it doesn't interfere with the default 10-minute timeout for sending messages. The 30-minute setting provides a balance between preserving connection usability and reducing idle time. I’ve also kept the comment in the configuration to clarify that the timeout value is in seconds by default, to prevent any potential confusion for others reviewing or updating it later. Let me know if you have any concerns or further suggestions. |
/retest-required |
1 similar comment
/retest-required |
Fixes #4342
Details: