Adding context fields to druid query


I am trying to add context to a druid query to assign priority and queryId using the fields listed in query context ( I am using a wrapper on top of druid, that listens to the request from pivot, adds priority to it and sends the the query with assigned priority, to the broker nodes.

Can the the priority and queryId be appended as fields in the request JSON body? I could not find documentation for the right location to add the query context (priority and queryId). What would be the right place to add these attributes?



Answered here:!topic/druid-development/i7VByLsKelI