Professional Data Engineer
You are using Dataflow to build a streaming data pipeline to analyze user website click activity from Pub/Sub. You need to calculate the number of clicks for each user site visit. A site visit is defined as a period of activity followed by 30 minutes of inactivity for a specific user. What should you do?
- A. Use tumbling windows with a 30-minute window.
- B. Use hopping windows with a 30-minute window, and a 1-minute period.
- C. Use hopping windows with a 30-minute window, and a 30-minute period.
- D. Use session windows with a 30-minute gap duration.