streamsets 包含了豐富的組件,origin processer destinationhtml
測試例子爲集成了http client 以及json 處理node
使用dockergit
http 服務地址: https://raw.githubusercontent.com/rongfengliang/json-learning/master/user3.json github
注意路徑是/ 開頭的,應該使用的是相似jsonpath 以及json patch 的方式,具體要看代碼docker
添加local fs 組件json
輸出到臨時文件系統
app
鏈接組件
ide
轉換後的數據測試
{"name":"json-patch","version":"1.0.0","main":"index.js","license":"MIT","dependencies":{"generate-schema":"^2.6.0","json-merge-patch":"^0.2.3","json-templater":"^1.2.0","json8-patch":"^0.4.1","jsonpatch":"^3.0.1","jsonschema":"^1.2.4","uglify-js":"^3.4.5","uglifyify":"^5.0.1","uglifyjs":"^2.4.11"},"apps":"{\"users\":{\"name\":\"dalong\",\"age\":33}}","type":"dGhpcyBpcyBhIGV4YW1wbGU=","scripts":{"t":"node t","p":"node p","s":"node s","gs":"node gs","build":"browserify t.js | uglifyjs -c > bundle.js","live":"live-server","m":"node m"},"devDependencies":{"browserify":"^16.2.2","live-server":"^1.2.0"},"result":{"users":{"name":"dalong","age":33}}}