Skip to content

Conversation

@jai1
Copy link
Contributor

@jai1 jai1 commented Oct 24, 2018

Motivation

Bug fix for #2830

Modifications

  • Renamed replicationTlsEnabled to brokerClientTlsEnabled since all broker clients (admins included) share the same brokerClient* params.
  • Used brokerClientTlsEnabled to determine if admin client should use TLS
  • Add Auth params and TLS options to Admin Client

Result

Fixes #2830

@jai1 jai1 added the type/bug The PR fixed a bug or issue reported a bug label Oct 24, 2018
@jai1 jai1 added this to the 2.2.1 milestone Oct 24, 2018
@jai1 jai1 self-assigned this Oct 24, 2018
Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

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

We need to have some unit test to verify the broker-broker tls config

Copy link
Contributor

Choose a reason for hiding this comment

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

We cannot just remove the old config key or we'd break compatibility.

We need to keep it and mark it as @Deprecated

@jai1
Copy link
Contributor Author

jai1 commented Oct 24, 2018

@merlimat - addressed your comments

Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

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

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inter Broker communication TLS not working for Pulsar Admin Client

2 participants