tenthe opened a new issue, #1708: URL: https://github.com/apache/streampipes/issues/1708
### Body ## Description When a user selectes the `FileReplayAdapter` with the configuration `Use current time: true` or `Replay Speed: Keep original time` and applies a `Timestamp conversion` e.g. "2023-06-18 01:20:00" -> "yyyy-MM-dd HH:mm:ss" the following errors occur: ``` ERROR 34003 --- [pool-5-thread-1] o.a.s.c.i.p.stream.FileReplayAdapter : The timestamp field is not a unix timestamp in ms. Value: 2023-06-18 01:20:00 ... ERROR 34003 --- [pool-5-thread-1] e.m.c.a.p.t.v.TimestampTranformationRule : java.text.ParseException: Unparseable date: "1687325253093" ``` ## Problem The problem is that the the timestamp conversion from `String` to `Long` happens in the preprocessing rules of the adapter which are executed after the event is processed in the adapter. In this case however the adapter already requires the timestamp value, because it is needed to publish the events in the correct frequency. ## How to reproduce Use the following csv and create a File Stream Adapter. ``` timestamp,value "2023-06-18 01:20:00",1.1 ``` ### StreamPipes Committer I acknowledge that I am a maintainer/committer of the Apache StreamPipes project. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
