
Answer-first summary for fast verification
Answer: Replay the archived data using the stream processing solution, with modifications to the processing logic to handle historical analysis.
To replay archived stream data for historical analysis, it is important to use the same stream processing solution, but with modifications to the processing logic to handle the specific requirements of historical analysis. This approach allows for consistency in processing logic and leverages the existing infrastructure. The modifications may include adjusting time windows, handling out-of-order events differently, or incorporating additional historical data sources. This approach ensures that the historical analysis is accurate and aligned with the real-time processing logic.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are working on a stream processing solution that processes real-time data from a stock trading platform. The solution needs to replay archived stream data for historical analysis. How would you approach this task?
A
Disable data archiving and rely on real-time processing only.
B
Replay the archived data using the same stream processing solution, without making any changes to the processing logic.
C
Replay the archived data using a separate batch processing solution, ignoring the real-time requirements.
D
Replay the archived data using the stream processing solution, with modifications to the processing logic to handle historical analysis.
No comments yet.