You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 7, 2025. It is now read-only.
A bunch of changes to Quesma's documentation:
- Remove a few orphan files - old files, not up-to-date, not referenced
in the menu
- replace `eap.quesma.com` mentions to `docs.quesma.com`
- Document recent changes of `target` configuration (and related
`useCommonTable` and `tableName`)
- Document the expected format of connection string
(`clickhouse://host:port`)
- a bunch of smaller changes
---------
Signed-off-by: Piotr Grabowski <[email protected]>
Co-authored-by: Przemyslaw Delewski <[email protected]>
Co-authored-by: Przemysław Hejman <[email protected]>
Quesma is an actively developed database gateway currently in pre-alpha Early Access. Route your queries through a translation layer that seamlessly connects your apps with the modern database platforms of your choice. No more query refactoring during migrations.
Copy file name to clipboardExpand all lines: docs/public/docs/config-primer.md
+40-7Lines changed: 40 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,12 +70,17 @@ frontendConnectors:
70
70
listenPort: 8080
71
71
```
72
72
73
+
The supported configuration options for frontend connectors (under `config`):
74
+
* `listenPort` - port number on which the frontend connector will listen for incoming requests
75
+
* `disableAuth` - when set to `true`, disables authentication for incoming requests (optional, defaults to false). If you use Elasticsearch/Kibana without authentication, set it to `true`.
76
+
77
+
73
78
#### Backend connectors
74
79
75
80
Backend connector has to have a `name`, `type` and `config` fields.
76
81
* `name` is a unique identifier for the connector
77
82
* `type` specifies the type of the connector.\
78
-
At this moment, only three backend connector types are allowed: `elasticsearch`, `clickhouse` (used for ClickHouse Cloud SaaS service, `clickhouse-os` and `hydrolix`.
83
+
At this moment, only three backend connector types are allowed: `elasticsearch`, `clickhouse` (used for ClickHouse Cloud SaaS service), `clickhouse-os` (self-hosted ClickHouse) and `hydrolix`.
79
84
* `config` is a set of configuration options for the connector.
80
85
```yaml
81
86
backendConnectors:
@@ -84,16 +89,25 @@ backendConnectors:
84
89
config:
85
90
user: "elastic"
86
91
password: "change-me"
87
-
url: "http://elasticsearch:9200"
92
+
url: "http://192.168.0.7:9200"
88
93
- name: my-clickhouse-data-source
89
94
type: clickhouse-os
90
95
config:
91
96
user: "username"
92
97
password: "username-is-password"
93
98
database: "dbname"
94
-
url: "clickhouse://clickhouse:9000"
99
+
url: "clickhouse://192.168.0.9:9000"
95
100
```
96
-
**WARNING:** When connecting to ClickHouse or Hydrolix, only the native protocol connection (`clickhouse://`) is supported.
101
+
102
+
The supported configuration options for backend connectors (under `config`):
103
+
* `url` - connection string to the backend service in a URL format (`protocol://host:port`):
104
+
* for Elastic/OpenSearch the expected format is `http://host:port` (Elastic/OpenSearch default port is 9200)
105
+
* for ClickHouse/Hydrolix the expected format is `clickhouse://host:port` (ClickHouse default port is 9000, ClickHouse/Hydrolix default encrypted port is 9440). Note that Quesma supports only the ClickHouse native protocol (`clickhouse://`) and does not support the HTTP protocol.
106
+
* `user` - username for authentication
107
+
* `password` - password for authentication
108
+
* `database` - name of the database to connect to. It is optional for ClickHouse, but strictly required for Hydrolix, where it is also referred as "project".
109
+
* `adminUrl` - URL for administrative operations to render a handy link in Quesma management UI (optional)
110
+
* `disableTLS` - when set to true, disables TLS for the connection (optional)
97
111
98
112
### Processors
99
113
@@ -178,14 +192,33 @@ The configuration for an index consists of the following configuration options:
178
192
will dual write ingest requests to `my_index` to both ElasticSearch and ClickHouse.
179
193
Note that ElasticSearch/OpenSearch is the only supported backend for the `*` entry.
180
194
If no targets are provided (example: `target: []`) in the configuration of an index in the ingest processor, ingest for that index will be disabled and incoming data will be dropped.
181
-
- `override` (optional): override the name of table in Hydrolix/ClickHouse (by default Quesma uses the same table name as the index name)
182
-
- `useCommonTable` (optional): if enabled, Quesma will store data in a single Hydrolix/ClickHouse table named `quesma_common_table`. See [ingest documentation](/ingest.md) for more details.
195
+
196
+
Some backend connectors have additional attributes which may be used. For example the following configuration sets `useCommonTable` for `backend-clickhouse` target:
197
+
```yaml
198
+
my_index:
199
+
target:
200
+
- backend-clickhouse:
201
+
useCommonTable: true
202
+
```
203
+
Currently only the ClickHouse backend connector supports the following attributes:
204
+
- `useCommonTable` (optional): if enabled, Quesma will store data in a single Hydrolix/ClickHouse table named `quesma_common_table`. See [ingest documentation](/ingest.md) for more details.
205
+
- `tableName` (optional): override the name of table in Hydrolix/ClickHouse (by default Quesma uses the same table name as the index name)
206
+
- `schemaOverrides` (optional): manual overrides of schema information for an index. Quesma infers schema for an index based on the data ingested and the schema information fetched from ClickHouse. `schemaOverrides` allows you to override this inferred schema with for some fields. For example the following configuration:
207
+
```yaml
208
+
my_index:
209
+
target: [ backend-clickhouse ]
210
+
schemaOverrides:
211
+
"product_name":
212
+
type: "text"
213
+
```
214
+
changes the type of `product_name` field to `text`. Note: `schemaOverrides`are currently not supported in `*` configuration.
183
215
184
216
## Optional configuration options
185
217
186
218
### Quesma licensing configuration
187
219
188
-
In order to be able to use `hydrolix` or `clickhouse` backend connectors, one needs to supply `licenseKey` in the configuration file. Contact us at [email protected] if you need one.
220
+
In order to be able to use `hydrolix` or `clickhouse` backend connectors Quesma requires a commercial license key (supplied in the `licenseKey` field of the configuration file).
Copy file name to clipboardExpand all lines: docs/public/docs/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@ hero:
6
6
image:
7
7
light: /logo/quesma-logo-black-full-svg.svg
8
8
dark: /logo/quesma-logo-white-full-svg.svg
9
-
name: "Quesma Early Access Preview (EAP)"
9
+
name: "Quesma Documentation"
10
10
#text: "Quesma EAP docs"
11
-
tagline: Welcome to the Quesma Early Access Preview! We're excited to have you on board and can't wait to hear your feedback! This website will help you get started.
11
+
tagline: Welcome to the Quesma Documentation! This website will help you get started.
0 commit comments