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

[WIP] Add TLS support for Kafka #4

Closed
wants to merge 12 commits into from

Conversation

aeijdenberg
Copy link

This isn't ready for merging yet, but opening PR early to garner feedback.

This PR adds TLS support to Kafka, and requires that clients connect with a client certificate.

By way of a demonstration, and to make testing easier, it also includes a kafka-firehose-nozzle job, which uses a binary I built based on a corresponding PR that I've sent there, and an operator file that can be added to a cf-deployment that will create a Zookeeper, a Kafka, and the firehose nozzle - communicating over TLS.

What this doesn't do, which it probably should is:

  1. Deal with authentication/authorization/encryption in Zookeeper. We thought we'd start with Kafka as those logs might include user data, but we should probably look at what Zookeeper can do too.

  2. While it authenticates via client certs, it's currently all or nothing. It should have some kind of support for using ACLs within Kafka. We're considering running one big Kafka for multiple CF environments, so that's something we'll likely look at soon.

  3. It doesn't make any updates to kafka-manager to handle.

Anyway, let me know your thoughts.

@shinji62
Copy link
Contributor

I think the kafka-nozzle should be in separate release.
I least this is what I did https://github.com/shinji62/cflogs-boshrelease/tree/develop/jobs

Btw I am now udpating to use the latest nozzle.

@drnic
Copy link
Contributor

drnic commented Mar 27, 2019

A version of this work was merged with #15

@drnic drnic closed this Mar 27, 2019
@drnic
Copy link
Contributor

drnic commented Mar 27, 2019

Sorry that I didn't follow up on it back in the day.

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.

3 participants