Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timestamp alignment between Kafka and NGSI-LD #490

Merged

Conversation

wagmarcel
Copy link
Member

No description provided.

@wagmarcel wagmarcel force-pushed the observedAt-in-attributes branch from 1fbdd61 to 7ba029b Compare January 8, 2024 23:09
Timestamp management was done so far by Kafka-timestamps. Every sample which entered the system throught MQTT-bridge is
automatically stamped by Kafka. This ensured that the timestamp cannot be manipulated by future values and, thus,
manipulating the system. The timestamp was stored in the TSDB but not explicitly in the NGSI-LD Database. This could lead to
unclear timestamp interpretations.
This PR makes timestamps more explicit by storing it also in the observedAt proerty in NGSI-LD.
In addition, this PR provides a first draft of JuPyter-Lab notebooks for experimenting with Flink-SQL. In the past this was
done by Apache Zeppelin but since there has not been any recent update the IFF Digital Twin team deciced to move
to JuPyter.

Related Issues: IndustryFusion#492

Signed-off-by: marcel <[email protected]>
@wagmarcel wagmarcel force-pushed the observedAt-in-attributes branch from 94f97d5 to 4324c99 Compare January 9, 2024 09:20
@wagmarcel wagmarcel changed the title Observed at in attributes Timestamp alignment between Kafka and NGSI-LD Jan 9, 2024
@wagmarcel wagmarcel requested a review from abhijith-hr January 9, 2024 10:12
@wagmarcel wagmarcel marked this pull request as ready for review January 9, 2024 12:03
@abhijith-hr abhijith-hr merged commit ee15132 into IndustryFusion:main Jan 9, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants