Эх сурвалжийг харах

HUE-9181 [gethue] Add more examples of DB connector configurations

Romain 5 жил өмнө
parent
commit
792774ee93

+ 14 - 3
docs/docs-site/content/administrator/configuration/connectors/_index.md

@@ -334,15 +334,23 @@ Via native HiveServer2 API:
       name=SparkSql
       interface=hiveserver2
 
-### KSQL
+### ksqlDB
 
-To add to the list of [[interpreters]]:
+The ksql Python module should be added to the system or Hue Python virtual environment:
+
+    ./build/env/bin/pip install git+https://github.com/romainr/ksql-python
+
+Then give Hue the information about the interpreter and ksql API:
+
+To add to the list of interpreters:
+
+    [[interpreters]]
 
     [[[ksql]]]
       name=ksql
       interface=ksql
 
-And provide the address of the KSQL REST Api:
+    ...
 
     [kafka]
 
@@ -353,6 +361,9 @@ And provide the address of the KSQL REST Api:
         # Base URL of Kafka Ksql API.
         ## ksql_api_url=http://127.0.0.1:8088
 
+
+Note: the configuration will be much simpler after [HUE-8758](https://issues.cloudera.org/browse/HUE-8758).
+
 ### Azure SQL Database
 
 The dialect should be added to the Python system or Hue Python virtual environment:

+ 6 - 3
docs/gethue/themes/stack-hue-theme/layouts/partials/home.en.html

@@ -176,9 +176,12 @@
           <div class="switchable__text">
             <h2>Connect to all the databases</h2>
             <p class="lead">
-              Pick one of the multiple interpreters for Apache Hive, Apache Impala, Apache Presto
-              and all the others too: MySQL, SparkSQL, Oracle, Apache Phoenix, KSQL, Elastic Search,
-              Apache Druid, PostgreSQL, Redshift, BigQuery...
+              Pick one of the multiple interpreters for [Apache Hive](https://docs.gethue.com/administrator/configuration/connectors/#apache-hive),
+              [Apache Impala](https://docs.gethue.com/administrator/configuration/connectors/#apache-impala), [Presto](https://docs.gethue.com/administrator/configuration/connectors/#presto)
+              and all the others too: MySQL, SparkSQL, Oracle, [Apache Phoenix](/sql-querying-apache-hbase-with-apache-phoenix/),
+              [ksqlDB](https://docs.gethue.com/administrator/configuration/connectors/#ksqlDB),
+              [Elastic Search](https://docs.gethue.com/administrator/configuration/connectors/#elastic-search),
+              [Apache Druid](/quick-task-how-to-query-apache-druid-analytic-database/), PostgreSQL, Redshift, BigQuery...
             </p>
             <a href="{{ .Site.Params.docsHost }}/administrator/configuration/connectors/"
               >Learn More »</a