Design log-query stream processor | Datadog Interview Question