iT邦幫忙

2017 iT 邦幫忙鐵人賽
DAY 27
0
Big Data

30天學會Data Integration - Kettle系列 第 27

Entry - Email通知

Job的Entry除了先前介紹過的START與Transformation,本篇要繼續的Entry是[Mail]Mail

本篇目標

直接以第22篇的ktr檔來做示範,Step - 取得系統資訊並寫入資料庫,當新增與更新資料作業皆完成時寄Email通知自己

新增Job

http://ithelp.ithome.com.tw/upload/images/20170110/20091626XkAH3gTA8S.png

新增START與Transformation

請建立Hop
http://ithelp.ithome.com.tw/upload/images/20170110/200916261CojPN69g2.png

設定Transformation

選取第22篇中設計好的Transformation檔案
http://ithelp.ithome.com.tw/upload/images/20170110/20091626ix8qh3BIRw.png

執行 Job

確認並查看是不是有如期完成任務
http://ithelp.ithome.com.tw/upload/images/20170110/20091626ngUdeUrqtd.png

加入Mail

新增Mail並建立Hop
http://ithelp.ithome.com.tw/upload/images/20170110/20091626ApLuO2nZPt.png

設定Mail

這邊的設定是直接輸入值,與上一篇Step的Mail方式設定不同
http://ithelp.ithome.com.tw/upload/images/20170110/200916260GdkNLgdjr.png

http://ithelp.ithome.com.tw/upload/images/20170110/20091626Y3IoWERAr8.png

http://ithelp.ithome.com.tw/upload/images/20170110/20091626TLOp4B8bgA.png

執行 Job

會收到一封通知信,內容還含有執行的相關訊息
http://ithelp.ithome.com.tw/upload/images/20170110/2009162621CnwNN0xE.png


看完這兩篇有沒有對於Job與Transformation又更認識了一點呢,Transformation是針對資料的處理,而Job則是針對整體流程做處理,角色是完全不同的喔!


上一篇
Step - Email通知
下一篇
設定變數與取得變數
系列文
30天學會Data Integration - Kettle30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言