You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by "tenthe (via GitHub)" <gi...@apache.org> on 2023/12/11 12:40:38 UTC
Re: [D] Dealing with files in the File Stream Adapter that don't have a timestamp on every line.
GitHub user tenthe added a comment to the discussion: Dealing with files in the File Stream Adapter that don't have a timestamp on every line.
Hi @AkthemRehab,
I find the idea of adding this function to the File Stream Adapter very interesting. The File Stream Adapter is currently only intended for test and development purposes to simulate "real" data streams. For this purpose, a timestamp is currently expected in the events in order to be able to simulate the original playback speed.
(Currently you would have to add the timestamp "manually" to the CSV file before uploading it)
We still need to clarify a few details before we can implement the feature. In particular, what the user has to configure in order to use the functionality.
My suggestion would be to add another option to the `Replay Speed` item. This could be called `adding artificial timestamp`. The user would then have the option to define a fixed time interval in ms between events.
Current configuration of `File Stream Adapter`:

Would this work from your point of view or do we need further settings? And do you think that the configuration is understandable for users?
Once we have clarified the details, we can convert the discussion into an issue and mark it as a `good first issue`.
GitHub link: https://github.com/apache/streampipes/discussions/2298#discussioncomment-7819344
----
This is an automatically sent email for dev@streampipes.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@streampipes.apache.org