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][cli] Using separate TLS config on the compactor #17426

Merged
merged 1 commit into from
Sep 29, 2022

Conversation

nodece
Copy link
Member

@nodece nodece commented Sep 2, 2022

Motivation

Improve the compactor tool, using separate TLS config

Modifications

  • Add separate TLS config on the compactor, both Keystore and PEM formats are supported
  • Fix correct use of service URL by brokerConfig.isBrokerClientTlsEnabled() value

Verifying this change

Test has been added.

Documentation

Check the box below or label this PR directly.

Need to update docs?

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Sep 2, 2022
@nodece nodece marked this pull request as draft September 2, 2022 08:22
@nodece nodece force-pushed the using-separate-tls-compactor branch from f39a9b7 to f55d4f5 Compare September 2, 2022 09:13
@nodece nodece marked this pull request as ready for review September 2, 2022 09:15
@nodece
Copy link
Member Author

nodece commented Sep 13, 2022

/pulsarbot rerun-failure-checks

Copy link
Member

@michaeljmarshall michaeljmarshall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@michaeljmarshall michaeljmarshall added this to the 2.12.0 milestone Sep 29, 2022
@michaeljmarshall michaeljmarshall merged commit 537aa54 into apache:master Sep 29, 2022
michaeljmarshall pushed a commit that referenced this pull request Sep 29, 2022
Signed-off-by: Zixuan Liu <[email protected]>

Signed-off-by: Zixuan Liu <[email protected]>

### Motivation

Improve the compactor tool, using separate TLS config

### Modifications

- Add separate TLS config on the compactor, both Keystore and PEM formats are supported
- Fix correct use of service URL by `brokerConfig.isBrokerClientTlsEnabled()` value

### Verifying this change

Test has been added.

### Documentation

Check the box below or label this PR directly.

Need to update docs?

- [ ] `doc-required`
(Your PR needs to update docs and you will update later)

- [x] `doc-not-needed`
(Please explain why)

- [ ] `doc`
(Your PR contains doc changes)

- [ ] `doc-complete`
(Docs have been already added)

(cherry picked from commit 537aa54)
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.

2 participants