Page MenuHomePhabricator

The WDQS streaming updater should support connecting to kafka with SSL
Closed, ResolvedPublic

Description

The way we configure the kafka consumer assume that we pass the PLAINTEXT port.
We should have a way to configure the security protocol to use when connecting to a kafka broker.

Multiple options:

  • infer this from the port, 9092->PLAINTEXT, 9093 -> SSL
  • accept URI like brokers: ssl://IP:PORT, plaintext://IP:PORT
  • separate config option, broker_security_protocol

AC:

  • the streaming updater is able to connect to kafka using the SSL protocol

Event Timeline

Gehel triaged this task as Medium priority.Apr 3 2023, 3:41 PM
Gehel moved this task from Incoming to Tech Debt on the Wikidata-Query-Service board.

Change #1072231 had a related patch set uploaded (by DCausse; author: DCausse):

[operations/deployment-charts@master] rdf-streaming-updater: use SSL and external-services fqdn to access kafka-main

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

Change #1072231 merged by jenkins-bot:

[operations/deployment-charts@master] rdf-streaming-updater: use SSL and external-services fqdn to access kafka-main

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

Change #1075561 had a related patch set uploaded (by DCausse; author: DCausse):

[operations/deployment-charts@master] rdf-streaming-updater: revert to using plaintext with kafka-main

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

Change #1075562 had a related patch set uploaded (by DCausse; author: DCausse):

[wikidata/query/rdf@master] Properly pass kafka client options to all producers

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

Change #1075561 merged by jenkins-bot:

[operations/deployment-charts@master] rdf-streaming-updater: revert to using plaintext with kafka-main

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

Change #1075562 merged by jenkins-bot:

[wikidata/query/rdf@master] Properly pass kafka client options to all producers

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

Change #1077396 had a related patch set uploaded (by DCausse; author: DCausse):

[operations/deployment-charts@master] rdf-streaming-updater: use SSL to connect to kafka-main

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

Change #1077396 merged by jenkins-bot:

[operations/deployment-charts@master] rdf-streaming-updater: use SSL to connect to kafka-main

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