And how about reaching out to people on i...@apache.org?

Holen Sie sichOutlook für Android<https://aka.ms/ghei36>

________________________________
From: Christofer Dutz <christofer.d...@c-ware.de>
Sent: Tuesday, July 16, 2019 10:19:32 AM
To: i...@apache.org; Edgent
Cc: i...@apache.org
Subject: Re: Presenting first ideas of Edgent NEXT

Hi Julian,

Think I will have the time to respond after my holidays.

Crud

Holen Sie sichOutlook für Android<https://aka.ms/ghei36>

________________________________
From: Julian Feinauer <j.feina...@pragmaticminds.de>
Sent: Tuesday, July 16, 2019 8:20:41 AM
To: Edgent
Cc: i...@apache.org
Subject: Presenting first ideas of Edgent NEXT

Hi all,

as this project clearly slowed down I think now its the time to revive it a bit.
As things have shifted quite a lot since the beginning of the project I want to 
propose a way of starting to repopulate it AND slightly start to change the 
aims of the project.

I call it EDGENT NEXT and created a branch for that (and a submodule).
My idea is to create some kind of Camel for the edge and especially for IoT / 
IIoT.

I created several small snippets to give you an idea on how I think it should 
look like:

```
// Example 1 - Generic handler
27         from("s7://192.168.167.210/0/0")
28             .scrape(10, TimeUnit.SECONDS)
29                 .field("%DB500.DBX10:BOOL")
30                 .field("%DB500.DBX10:BOOL", Boolean.class)
31             .handle((field, result, clazz) -> System.out.println(field + ": 
" + result));
32
33         // Example 2 - Store to JDBC
34         from("s7://192.168.167.210/0/0")
35             .scrape(10, TimeUnit.SECONDS)
36                 .field("%DB500.DBX10:BOOL")
37                 .field("%DB500.DBX10:BOOL", Boolean.class)
38             .transform(new JsonTransformer())
39             .to(new JdbcSink());
40
41         // Example 3 - Store to InfluxDB
42         from("s7://192.168.167.210/0/0")
43             .scrape(10, TimeUnit.SECONDS)
44                 .field("%DB500.DBX10:BOOL")
45                 .field("%DB500.DBX10:BOOL", Boolean.class)
// Example 4 - CRUNCH
49         from("s7://192.168.167.210/0/0")
50             .scrape(10, TimeUnit.SECONDS)
51                 .field("%DB500.DBX10:BOOL", Boolean.class).analyze()
52                     .flank(UP).handle(...)
```

So this should wire several of our Apache “IoT” projects (or podlings) together 
in a nice and easy manner.
I also plan to integrate our own (Apache 2.0 Licensed) framework CRUNCH [1] 
nicely.

What do you think of that?

Julian

[1] https://github.com/pragmaticminds/crunch

Reply via email to