标签: bigdata infosphere-spl
我一直在使用Infosphere Streams的getTimestamp()方法获取当前时间戳。但是,由于多个实例在各个时区中运行,因此很难同步。有没有办法检索给定时刻的GMT时间戳?
getTimestamp()
答案 0 :(得分:0)
忽略了API文档... gmtime(timeStamp,resultantTuple)解决了问题。
gmtime(timeStamp,resultantTuple)