commit | 71d261d5000b71eaffe19d4ae79f7d5cec1c614f | [log] [tgz] |
---|---|---|
author | 鲍金日 <baojinri@gmail.com> | Wed May 15 17:04:37 2024 +0800 |
committer | GitHub <noreply@github.com> | Wed May 15 17:04:37 2024 +0800 |
tree | c2b45c0bee764653b9215d17a4ed667d108bb3fd | |
parent | cf5ec10406d90290e1b9d557805e95c82520d507 [diff] |
feat: impl basic auth (#1531) ## Rationale Close https://github.com/apache/incubator-horaedb/issues/929 ## Detailed Changes - Added file authentication - Modify the query and write paths, and add authentication ## Test Plan - Existed tests - Manual tests --------- Co-authored-by: jiacai2050 <dev@liujiacai.net>
HoraeDB is a high-performance, distributed, cloud native time-series database.
docker run -d --name horaedb-server \ -p 8831:8831 \ -p 3307:3307 \ -p 5440:5440 \ ghcr.io/apache/horaedb-server:nightly-20231222-f57b3827
docker compose -f docker/docker-compose.yaml up
See details here.
Create Table.
curl --location --request POST 'http://127.0.0.1:5440/sql' \ -d ' CREATE TABLE `demo` ( `name` string TAG, `value` double NOT NULL, `t` timestamp NOT NULL, timestamp KEY (t)) ENGINE=Analytic with (enable_ttl="false") '
Write data with SQL.
curl --location --request POST 'http://127.0.0.1:5440/sql' \ -d ' INSERT INTO demo (t, name, value) VALUES (1702224000000, "horaedb", 100) '
Read data with SQL.
curl --location --request POST 'http://127.0.0.1:5440/sql' \ -d ' SELECT * FROM `demo` '
Drop table.
curl --location --request POST 'http://127.0.0.1:5440/sql' \ -d ' Drop TABLE `demo` '
Thrive together in Apache HoraeDB community with users and developers from all around the world.
dev@horaedb.apache.org
to join HoraeDB slack channelRead our Contributing Guide and make your first contribution!
When develop HoraeDB, we benefit a lot from several other open source projects, such as influxdb_iox, tikv etc, thanks for their awesome work.
In our production usage, we heavily use OceanBase as implementation of both WAL and ObjectStorage, and OceanBase team help us maintain stability of our cluster, thanks for their kindly support.
HoraeDB is under Apache License 2.0.