Remove stale 'namespace' config for JDBC lookups from doc (#10886)

* Remove stale 'namespace' config for JDBC lookups from doc and web-console

* revert webconsole change

* address comments
This commit is contained in:
Jihoon Son 2021-03-04 17:16:34 -08:00 committed by GitHub
parent 2c30f8b3b7
commit 16acd6686a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -347,7 +347,6 @@ The JDBC lookups will poll a database to populate its local cache. If the `tsCol
|Parameter|Description|Required|Default| |Parameter|Description|Required|Default|
|---------|-----------|--------|-------| |---------|-----------|--------|-------|
|`namespace`|The namespace to define|Yes||
|`connectorConfig`|The connector config to use|Yes|| |`connectorConfig`|The connector config to use|Yes||
|`table`|The table which contains the key value pairs|Yes|| |`table`|The table which contains the key value pairs|Yes||
|`keyColumn`|The column in `table` which contains the keys|Yes|| |`keyColumn`|The column in `table` which contains the keys|Yes||
@ -359,7 +358,6 @@ The JDBC lookups will poll a database to populate its local cache. If the `tsCol
```json ```json
{ {
"type":"jdbc", "type":"jdbc",
"namespace":"some_lookup",
"connectorConfig":{ "connectorConfig":{
"createTables":true, "createTables":true,
"connectURI":"jdbc:mysql://localhost:3306/druid", "connectURI":"jdbc:mysql://localhost:3306/druid",
@ -377,7 +375,8 @@ 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. > If using JDBC, you will need to add your database's client JAR files to the extension's directory.
> For Postgres, the connector JAR is already included. > For Postgres, the connector JAR is already included.
> For MySQL, you can get it from https://dev.mysql.com/downloads/connector/j/. > For MySQL, you can get it from https://dev.mysql.com/downloads/connector/j/.
> Copy or symlink the downloaded file to `extensions/druid-lookups-cached-global` under the distribution root directory. > The connector JAR should reside in the classpath of Druid's main class loader.
> To add the connector JAR to the classpath, you can copy the downloaded file to `lib/` under the distribution root directory. Alternatively, create a symbolic link to the connector in the `lib` directory.
## Introspection ## Introspection