Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add iotdb integration example. for just saving one field for a PLC. #99

Merged
merged 1 commit into from
Nov 3, 2019

Conversation

jixuan1989
Copy link
Member

Hi, I finished a simple example to using plc4j and edgent to collect data and then storing the data into iotdb.

It is a simple example, but just for showing how to use IoTDB and Plc4j together.

Latter, I think I can do some integration with plc4j-opm with IoTDB. e.g., add a method in OPM entity called createIoTDBSchema() to create the schema in IoTDB according to the attributes of the entity. Then an example about using OPM and iotdb will be easy to be implemented.

@JulianFeinauer
Copy link
Contributor

Hey @jixuan1989 the example looks good. What do you think about providing a Test to see if everything runs? I could also help you with that, if you like?

@JulianFeinauer
Copy link
Contributor

Oh, I just saw that you write against an existing instance.. so thats rather impossible, I guess... so it looks good to me otherwise and I will merge it. It would probably be cool to add an example to write into a tsfile, what do you think @jixuan1989 ?

@JulianFeinauer JulianFeinauer merged commit c47d761 into apache:develop Nov 3, 2019
@JulianFeinauer
Copy link
Contributor

And.. congratulations to your first plc4x PR 🎉 !

@jixuan1989
Copy link
Member Author

Oh, I just saw that you write against an existing instance.. so thats rather impossible, I guess... so it looks good to me otherwise and I will merge it. It would probably be cool to add an example to write into a tsfile, what do you think @jixuan1989 ?

I will :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants