Pull Queries: include unique correlation id in processing logs #3576
Labels
operability
Issues pertaining to running and operating KSQL, notably in production
query-engine
Issues owned by the ksqlDB Query Engine team
At the moment the pull query code builds a unique query id per request and embeds this in the result returned to the user.
We should extend this so that each request the rest server receives should generate a unique correlation id, which is logged at the start of the call. This correlation id should then be passed to
ConfiguredStatement
. For pull & transient queries, this id should be used in the query id, for anything persisted to the command topic this correlation id should be included.This will allow people to use the logs to trace back when and who made the original request.
The text was updated successfully, but these errors were encountered: