Add note on JDBC libs for lookups (#8825)

* Add note on JDBC libs for lookups

* Fix directory and additional "the"
This commit is contained in:
Jad Naous 2019-11-06 13:31:26 -08:00 committed by Gian Merlino
parent 5adc8212b4
commit ce3c0dae4d
1 changed files with 6 additions and 0 deletions

View File

@ -368,6 +368,12 @@ The JDBC lookups will poll a database to populate its local cache. If the `tsCol
}
```
> If using JDBC, you will need to add your database's client JAR files to the extension's directory.
> For MySQL, you can get it from https://dev.mysql.com/downloads/connector/j/, and for Postgres, from
> https://jdbc.postgresql.org/download.html or from `extensions/postgresql-metadata-storage/`.
> Copy or symlink the downloaded file to
> `extensions/druid-lookups-cached-global` under the distribution root directory.
## Introspection
Globally cached lookups have introspection points at `/keys` and `/values` which return a complete set of the keys and values (respectively) in the lookup. Introspection to `/` returns the entire map. Introspection to `/version` returns the version indicator for the lookup.