当前位置:网站首页>NIFI 改UTC时间为CST时间
NIFI 改UTC时间为CST时间
2022-07-29 05:20:00 【Denny辉】
最近在使用nifi这个工具来同步数据,在使用过程中发现系统上的时间是UTC时间,跟中国时间差了8小时,而且nifi数据调度的时间也是根据UTC时间来调度的,后面就开始着手考虑怎么把这个时间改过来了。
我这边的NIFI是用docker安装的,所以首先想到的会不会是docker 容器的时间不对导致nifi的时间不对,于是就去改容器的时区,可是容器的时区改好了之后nifi的时间并没有什么改变。
最后发现了另一种改nifi时间的方式:
修改nifi 的 bootstrap.conf 文件,添加如下内容:
java.arg.8=-Duser.timezone=America/New_York
将America/New_York 改为 Asia/Shanghai
重启容器,nifi系统的时间就变成中国时间了。
边栏推荐
- Win10 compiles ffmpeg (including ffplay)
- QFrame类学习笔记
- 赓续新征程,共驭智存储
- Sliding switch of tab of uniapp component
- Relationship between redrawing and reflow
- Go|gin quickly use swagger
- Qt布局管理--部件拉伸(Stretch)原理及大小策略(sizePolicy)
- The Platonic metauniverse advocated by musk has long been verified by platofarm
- Laravel Swagger添加访问密码
- Xsan is highly available - xdfs and San are integrated with new vitality
猜你喜欢

改哭了,终于解决了Cannot read properties of undefined (reading ‘parseComponent‘)

Fvuln automated web vulnerability detection tool

DAY5:PHP 简单语法与使用

How can Plato obtain premium income through elephant swap in a bear market?

我的理想工作,码农的绝对自由支配才是最重要的——未来创业的追求

DAY6:利用 PHP 编写文件上传页面

记xx公司SQL注入漏洞

突破硬件瓶颈(一):Intel体系架构的发展与瓶颈挖掘

The openatom openharmony sub forum was successfully held, and ecological and industrial development entered a new journey

7 月 28 日 ENS/USD 价值预测:ENS 吸引巨额利润
随机推荐
“山东大学移动互联网开发技术教学网站建设”项目实训日志四
From starfish OS' continued deflationary consumption of SFO, the value of SFO in the long run
“山东大学移动互联网开发技术教学网站建设”项目实训日志六
Laravel服务容器(上下文绑定的运用)
Sports health is deeply rooted in the hearts of the people, and move protocol leads quality life
Elastic box flex
Laravel服务容器(继承与事件)
sql-server 数据表的简单操作
Starfish OS: create a new paradigm of the meta universe with reality as the link
What is sqlmap and how to use it
The difference between link and @import importing external styles
win10+opencv3.2+vs2015配置
熊市下PLATO如何通过Elephant Swap,获得溢价收益?
ThinkPHP6 输出二维码图片格式 解决与 Debug 的冲突
The Platonic metauniverse advocated by musk has long been verified by platofarm
XDFS&空天院HPC集群典型案例
Novice introduction: download from PHP environment to thinkphp6 framework by hand
Fantom (FTM) 在 FOMC会议之前飙升 45%
Relative positioning and absolute positioning
xSAN高可用—XDFS与SAN融合焕发新生命力