Skip to content

Support loading cas from memory. #2237

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

Closed
wants to merge 1 commit into from
Closed

Conversation

abergmeier
Copy link

@abergmeier abergmeier commented May 26, 2021

Passes along cadata to SSL library.
This removes the need to unnecessarily persist CA files when already
present in memory.


This change is Reviewable

Passes along cadata to SSL library.
This removes the need to unnecessarily persist CA files when already
present in memory.
@abergmeier
Copy link
Author

Seems like something is wrong with CI?

Copy link
Contributor

@jeffwidman jeffwidman left a comment

Choose a reason for hiding this comment

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

This looks good to me other than the docstring capitalization.

I don't have a way to test, but I'll take your word for it that the argument is supported by the underlying SSL lib and just needs to be plumbed through. Looks straightforward.

@@ -107,6 +107,8 @@ class KafkaAdminClient(object):
ssl_check_hostname (bool): Flag to configure whether SSL handshake
should verify that the certificate matches the broker's hostname.
Default: True.
ssl_cadata (str): optional ca filecontent to use in certificate
verification. default: None.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you capitalize properly?

Suggested change
verification. default: None.
ssl_cadata (str): Optional CA filecontent to use in certificate
verification. Default: None.

This applies several other places in the PR too, since this text is sorta copy/pasta.

@jeffwidman
Copy link
Contributor

We need to migrate from Travis to some other system.

@abergmeier
Copy link
Author

We don't use Kafka anymore.

@abergmeier abergmeier closed this Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants