Skip to content

Commit

Permalink
docs: add emqx and mindsdb integration for greptimecloud (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 authored Apr 15, 2024
1 parent 938bc6b commit 8a986bd
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/v0.7/en/greptimecloud/integrations/emqx.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# EMQX Platform

[EMQX Platform](https://www.emqx.io/) is an MQTT Gateway, designed to handle
massive amounts of IoT device connections and message traffic, making it a
popular choice for building large-scale IoT applications. It has built-in
support for GreptimeDB as a data integration. By adding GreptimeDB as a Data
Persistent sink, you can ingest EMQX messages into GreptimeDB automatically.

You will need to follow these steps for your complete IoT data link, from MQTT
to database:

- Sign up your account on [EMQX Platform](https://www.emqx.io/)
- Create a **Dedicated Instance** and wait for it's up and running
- Setup Private Link or NAT Gateway for your deployment so it has internet
access
- Go to **Data Integrations** and find **GreptimeDB**
- Configure your **GreptimeDB** connector using following information
- Server host: `<host>:4001`
- Database: `<dbname>`
- Username: `<username>`
- Password: `<password>`

Then you are all set. Start from using EMQX's debugging tools to generate data
and check GreptimeDB Dashboard for the data ingested.
26 changes: 26 additions & 0 deletions docs/v0.7/en/greptimecloud/integrations/mindsdb.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# MindsDB

[MindsDB](https://mindsdb.com/) is an open-source machine learning platform that
enables developers to easily incorporate advanced machine learning capabilities
with existing databases.

Your GreptimeDB instance work out of box as using MySQL protocol with
MindsDB. To configure GreptimeDB database, run the following SQL:

```sql
CREATE DATABASE greptime_datasource
WITH ENGINE = 'mysql',
PARAMETERS = {
"host": "<host>",
"port": 4002,
"database": "<dbname>",
"user": "<username>",
"password": "<password>",
"ssl": True
};

```

MindsDB is a great gateway for many machine learning features, including
time-series forecasting, for your time series data stored in our instance. See
[MindsDB docs](https://docs.mindsdb.com/what-is-mindsdb) for more information.
2 changes: 2 additions & 0 deletions docs/v0.7/en/summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@
- influxdb
- otlp
- vector
- emqx
- streamlit
- mindsdb
- SDK-Libraries:
- go
- java
Expand Down

0 comments on commit 8a986bd

Please sign in to comment.