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

[pulsar-functions] move metricsPort to InstanceConfig #9610

Merged

Conversation

freeznet
Copy link
Contributor

@freeznet freeznet commented Feb 18, 2021

Master Issue: #9177

Motivation

As discussed in #9318, both @zymap and @wolfstudy suggested, to add metricsPort as a field of InstanceConfig.

Modifications

  • add metricsPort to InstanceConfig
  • add hasValidMetricsPort to InstanceConfig to check if metrics port is valid
  • applied changes to k8s runtime & process runtime

Verifying this change

  • Make sure that the change passes the CI checks.

@zymap zymap requested a review from wolfstudy February 18, 2021 06:39
@zymap zymap added this to the 2.8.0 milestone Feb 18, 2021
@freeznet
Copy link
Contributor Author

/pulsarbot run-failure-checks

1 similar comment
@freeznet
Copy link
Contributor Author

/pulsarbot run-failure-checks

@freeznet freeznet force-pushed the freeznet/add-metrics-port-into-instance-config branch from 02f3a68 to 88fa0e8 Compare February 19, 2021 01:50
@freeznet
Copy link
Contributor Author

/pulsarbot run-failure-checks

@zymap zymap merged commit 6497177 into apache:master Feb 22, 2021
ivankelly pushed a commit to ivankelly/pulsar that referenced this pull request Aug 10, 2021
Master Issue: apache#9177

As discussed in apache#9318, both @zymap and @wolfstudy suggested, to add `metricsPort` as a field of `InstanceConfig`.

- add metricsPort to InstanceConfig
- add hasValidMetricsPort to InstanceConfig to check if metrics port is valid
- applied changes to k8s runtime & process runtime
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.

None yet

2 participants