chunjun
chunjun copied to clipboard
http connector的使用说明
trafficstars
提供了http connector,但没有具体的使用说明文档,希望能够在文档里面完善补充下。
两个具体问题: 1、现在是默认每隔3s去调用一次接口嘛?
2022-03-07 16:08:09.078 [Legacy Source Thread - Source: httpsourcefactory -> Sink: streamsinkfactory (1/1)#0] INFO com.dtstack.flinkx.connector.stream.util.TablePrintUtil -
+-------------------------------------------------------------------------------------+
| col0 |
+-------------------------------------------------------------------------------------+
| {"date":"03-07-2022","milliseconds_since_epoch":1646640488971,"time":"08:08:08 AM"} |
+-------------------------------------------------------------------------------------+
2022-03-07 16:08:12.078 [restApiReader-thread] DEBUG com.dtstack.flinkx.connector.http.client.HttpClient - currentParam is HttpRequestParam{body={}, header={}, param={}}
2022-03-07 16:08:12.078 [restApiReader-thread] DEBUG com.dtstack.flinkx.connector.http.common.HttpUtil - current request url: http://date.jsontest.com/ current method:get
2022-03-07 16:08:12.294 [Legacy Source Thread - Source: httpsourcefactory -> Sink: streamsinkfactory (1/1)#0] INFO com.dtstack.flinkx.connector.stream.util.TablePrintUtil -
+-------------------------------------------------------------------------------------+
| col0 |
+-------------------------------------------------------------------------------------+
| {"date":"03-07-2022","milliseconds_since_epoch":1646640492193,"time":"08:08:12 AM"} |
+-------------------------------------------------------------------------------------+
2、如何处理两次http调用之前的增量处理?
这个预计节后提供。
这个预计节后提供。
啥时候能提供呢?
啥时候可以提供呢?
啥时候可以提供呢?