Skip to content

[Doc] update iotdb document#5404

Merged
liugddx merged 3 commits into
apache:devfrom
liunaijie:iotdb_doc
Sep 5, 2023
Merged

[Doc] update iotdb document#5404
liugddx merged 3 commits into
apache:devfrom
liunaijie:iotdb_doc

Conversation

@liunaijie
Copy link
Copy Markdown
Member

@liunaijie liunaijie commented Aug 30, 2023

Purpose of this pull request

  1. close [Bug] [Docs] IoTDB Source example error #5399
  2. update document format to v2
  3. move host,port config as they duplicated with node_url config and node_url is required.

Check list

@liunaijie
Copy link
Copy Markdown
Member Author

@hailin0 PTAL

@zhilinli123
Copy link
Copy Markdown
Contributor

Hi @liunaijie Would you like to contribute v2.0 documentation to the Iotdb connector? I look forward to your contribution
issues:#4572
reference:https://github.com/apache/seatunnel/blob/dev/docs/en/connector-v2/source/Mysql.md
https://github.com/apache/seatunnel/blob/dev/docs/en/connector-v2/sink/Mysql.md

@liunaijie
Copy link
Copy Markdown
Member Author

sure

@ruanwenjun
Copy link
Copy Markdown
Member

LGTM, it's better to use v2.0 doc style as @zhilinli123 said.

}
```

Upstream SeaTunnelRow data format is the following:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why delete?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the sink example, I only add 1 case (fakesource to iotdb)(also 1 case in source example, use iotdb to console)

the key_timestamp is optional, so i remove it.
for example data, remove some filed to keep consistent with example code.

username = "root"
password = "root"
key_device = "device_name"
key_timestamp = "ts"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why delete?


Upstream SeaTunnelRow data format is the following:

| ts | device_name | field_1 | field_2 | temperature | moisture |
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whl update ?

@liunaijie
Copy link
Copy Markdown
Member Author

@hailin0 when i update the doc, i find in source, node_url is required, and host, port is optional. but they all represent same thing.
I see you recommend set host,port in single node, but in this case node_url is still need to fill. is this duplicate? i want update the code, remove host,port option.

@EricJoy2048
Copy link
Copy Markdown
Member

We hope that there should be more examples in the document to demonstrate the scenarios in which different parameters are used. In general, we recommend at least three examples.

@liunaijie liunaijie force-pushed the iotdb_doc branch 2 times, most recently from f9e166c to 06028ad Compare September 1, 2023 09:05
@liunaijie
Copy link
Copy Markdown
Member Author

We hope that there should be more examples in the document to demonstrate the scenarios in which different parameters are used. In general, we recommend at least three examples.

updated

Comment thread docs/en/connector-v2/sink/IoTDB.md Outdated
Comment thread docs/en/connector-v2/source/IoTDB.md
Comment thread docs/en/connector-v2/source/IoTDB.md Outdated
Comment thread docs/en/connector-v2/sink/IoTDB.md Outdated
Comment thread docs/en/connector-v2/sink/IoTDB.md Outdated
Copy link
Copy Markdown
Member

@ruanwenjun ruanwenjun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhilinli123
Copy link
Copy Markdown
Contributor

thanks contribution PTAL: @EricJoy2048

@liugddx liugddx merged commit 856aedb into apache:dev Sep 5, 2023
Zhouwen-CN pushed a commit to Zhouwen-CN/seatunnel that referenced this pull request Sep 11, 2023
* [Doc] update iotdb document, remove duplicated config

* [Doc] update iotdb document

* [Doc] update iotdb document
Zhouwen-CN pushed a commit to Zhouwen-CN/seatunnel that referenced this pull request Sep 11, 2023
* [Doc] update iotdb document, remove duplicated config

* [Doc] update iotdb document

* [Doc] update iotdb document
@liunaijie liunaijie deleted the iotdb_doc branch October 31, 2023 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] [Docs] IoTDB Source example error

6 participants