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

[improve][proxy] Make keep-alive interval configurable in Pulsar Proxy #23981

Merged
merged 6 commits into from
Feb 14, 2025

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Feb 13, 2025

Fixes #23963

Motivation

See #23963. Pulsar's keep-alive internal is currently hard-coded to 30 seconds in Pulsar Proxy and cannot be configured.

Modifications

  • Add keepAliveIntervalSeconds configuration to Pulsar Proxy's proxy.conf and ProxyConfiguration class.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@codecov-commenter
Copy link

codecov-commenter commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.23%. Comparing base (bbc6224) to head (8679683).
Report is 912 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #23981      +/-   ##
============================================
+ Coverage     73.57%   74.23%   +0.66%     
+ Complexity    32624    32272     -352     
============================================
  Files          1877     1853      -24     
  Lines        139502   143827    +4325     
  Branches      15299    16337    +1038     
============================================
+ Hits         102638   106770    +4132     
+ Misses        28908    28664     -244     
- Partials       7956     8393     +437     
Flag Coverage Δ
inttests 26.82% <100.00%> (+2.23%) ⬆️
systests 23.23% <100.00%> (-1.09%) ⬇️
unittests 73.74% <100.00%> (+0.89%) ⬆️

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

Files with missing lines Coverage Δ
...apache/pulsar/proxy/server/ProxyConfiguration.java 95.48% <100.00%> (-1.68%) ⬇️
...rg/apache/pulsar/proxy/server/ProxyConnection.java 54.46% <100.00%> (-4.31%) ⬇️

... and 1039 files with indirect coverage changes

@lhotari lhotari merged commit eb1391a into apache:master Feb 14, 2025
52 checks passed
lhotari added a commit that referenced this pull request Feb 14, 2025
lhotari added a commit that referenced this pull request Feb 14, 2025
lhotari added a commit that referenced this pull request Feb 14, 2025
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Feb 19, 2025
mukesh-ctds pushed a commit to datastax/pulsar that referenced this pull request Feb 20, 2025
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Pulsar Proxy Keep-Alive Interval is Hardcoded to 30s and Cannot Be Configured
3 participants