If you're experiencing issues with timestamps in messages or other time-related problems in your edge devices, it may be due to incorrect time settings. Here's how you can fix it.
Instructions
- Execute the
date
command in the terminal to understand the current time. - Execute
sudo ntpd -w -d -p pool.ntp.org
to get the offset from the timeserver and to check whether the timeserver is working. The offset is the difference between the local time and the NTP server time. - If there is an offset, check whether there are NTP servers set in the
/etc/connman/main.conf
file. If not, add them. - If NTP is not the issue, it could be caused by a backlog in the system, especially when using an older version with the MQTT bridge. In newer versions, you can check the lag of Kafka with Kowl and then go to consumer groups.