tenthe commented on issue #4103:
URL: https://github.com/apache/streampipes/issues/4103#issuecomment-3768816713

   I implemented the feature in PR #4109.
   
   The original plan was to remove both the `GeoJson` and `JSONArrayField` 
parsers. However, we discovered that `JSONArrayField` is still required for the 
`FileReplayAdapter` to function correctly.
   
   If `JSONArrayField` were removed, `FileReplayAdapter` would need to handle 
two different input scenarios in
   
   ```java
   protected void processEvent(
       IEventCollector collector,
       Map<String, Object> event
   )
   ```
   
   This becomes especially problematic when replaying events based on the 
original timestamp, as the timestamp field would need to be extracted and the 
replay initialized accordingly.
   
   Additionally, removing `JSONArrayField` could cause the Schema Editor in the 
Connect transformation step to become excessively large for events with large 
payloads.
   
   For these reasons, we decided to keep the `JSONArrayField` option for the 
JSON parser.


-- 
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]

Reply via email to