Skip to content

Documentation for PostgreSQL Metadata Store SSL Configuration Settings is incorrect #558

@navkumar

Description

@navkumar

On this page in the documentation for the PostgreSQL Metadata Store (http://druid.io/docs/latest/development/extensions-core/postgresql.html), the settings table at the bottom uses incorrect properties that do not work in the latest (0.13.0-incubating) version of Druid.

According to the code here (PostgreSQLMetadataStorageModule.java), the SSL related settings are all prefixed with druid.metadata.postgres.ssl NOT druid.metadata.postgres as indicated on this documentation page. For example, you would enable SSL for PostgreSQL using the something like the following in runtime.properties:

...
# ALL THESE PROPERTIES ARE PREFIXED with "druid.metadata.postgres.ssl"
druid.metadata.postgres.ssl.enableSSL=true
druid.metadata.postgres.ssl.sslMode=verify-full
druid.metadata.postgres.ssl.sslRootCert=<path-to-ca.crt>
...

instead of:

...
# NONE OF THESE ARE READ BY THE POSTGRES METADATA STORAGE EXTENSION
druid.metadata.postgres.enableSSL=true
druid.metadata.postgres.sslMode=verify-full
druid.metadata.postgres.sslRootCert=<path-to-ca.crt>
...

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