首先介绍airbyte的整体架构。
airbyte-api:web接口
airbyte-server:web接口对应的服务端
Handler中对应一个又一个的接口
airbyte-scheduler:调度服务
airbyte-integrations:Source、Destination
如何用Java将实时数据从ProcessBuilder打印到控制台?
ProcessBuilder f = new ProcessBuilder("cmd.exe", "tracert ip_address"); Process p = f.start(); BufferedReader reader = new BufferedReader(new InputStreamReader(p.getInputStream))); BufferedReader error = new BufferedReader(new InputStreamReader(p.getErrorStream)));
airbyte-server启动
购买付费课程的同学请见《 airbyte建立connection源码解读(一)之Worker如何监控Source和Destination》