Page MenuHomePhabricator

Changeprop in k8s should use TLS to talk to Kafka
Closed, ResolvedPublic

Description

Since we're moving change-prop to k8s, we can use the latest and greatest node-rdkafka (thus in turn librdkafka) and can enable TLS to talk to kafka.

For the k8s setup part, we can draw inspiration from https://gerrit.wikimedia.org/r/c/operations/deployment-charts/+/551610

The code should already support everything, we just need to add

security.protocol: ssl
ssl.ca.location: /etc/eventgate/kafka_ca.crt.pem

to both consumer and producer kafka configuration in the config template.

Event Timeline

As far as I understand, we would need the same certificate here as we would need for T249633, so we might as well have this in mind when figuring out how to implement T249633

daniel triaged this task as Medium priority.Apr 7 2020, 8:28 PM

Change 587573 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[operations/deployment-charts@master] Enable TLS for kafka connections

https://gerrit.wikimedia.org/r/587573

Change 587573 merged by jenkins-bot:
[operations/deployment-charts@master] Enable TLS for kafka connections

https://gerrit.wikimedia.org/r/587573

Change 587812 had a related patch set uploaded (by Hnowlan; owner: Hnowlan):
[operations/deployment-charts@master] changeprop: Use TLS port for Kafka

https://gerrit.wikimedia.org/r/587812

Change 587812 merged by jenkins-bot:
[operations/deployment-charts@master] changeprop: Use TLS port for Kafka

https://gerrit.wikimedia.org/r/587812