Skip to content

SSL configuration for Kafka engine #1402

Closed

Description

@leoluk

Connecting to a SSL-secured broker requires the following librdkafka settings:

  • security.protocol=ssl
  • ssl.ca.location=/path/to/broker.ca
  • ssl.certificate.location=/path/to/client_cert.pem
  • ssl.key.location=/path/to/client_cert.key

Activity

  1. leoluk commented on Oct 25, 2017

    @leoluk
    ContributorAuthor

    @vavrusa

    Thank you for implementing the Kafka engine! :)

  2. silviucpp commented on Oct 25, 2017

    @silviucpp
    Contributor

    This PR was merged. Bug should be closed

  3. leoluk commented on Oct 26, 2017

    @leoluk
    ContributorAuthor

    No, this is a separate feature request.

  4. vavrusa commented on Nov 7, 2017

    @vavrusa
    Contributor

    I wonder where should this configuration go, using SETTINGS is not going to be pretty (especially when you create multiple tables all using the same broker), so either:

    • an additional ENGINE parameter with a tuple of SSL settings
    • an additional ENGINE parameter with a string of librdkafka (or JSON) settings
    • an additional ENGINE parameter with a file containing librdkafka settings
  5. leoluk commented on Dec 4, 2017

    @leoluk
    ContributorAuthor

    an additional ENGINE parameter with a file containing librdkafka settings

    That's what I would do, just put all broker settings in a XML configuration file just as with external dictionaries, and then reference them in the ENGINE config. That will make them easy to re-use and modify.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions