maytasm commented on a change in pull request #11495:
URL: https://github.com/apache/druid/pull/11495#discussion_r677216917
##########
File path: docs/design/router.md
##########
@@ -109,6 +109,19 @@ Including this strategy means all timeBoundary queries are
always routed to the
Queries with a priority set to less than minPriority are routed to the lowest
priority Broker. Queries with priority set to greater than maxPriority are
routed to the highest priority Broker. By default, minPriority is 0 and
maxPriority is 1. Using these default values, if a query with priority 0 (the
default query priority is 0) is sent, the query skips the priority selection
logic.
+#### manual
+
+This strategy reads the parameter `brokerService` from the query context and
routes the query to that broker service. If no valid `brokerService` is
specified in the query context, the field `defaultManualBrokerService` is used
to determine target broker service given the value is valid and non-null. A
value is considered valid if it is present in `druid.router.tierToBrokerMap`
+
+*Example*: A strategy that routes queries to the Broker "druid:broker-hot" if
no valid `brokerService` is found in the query context.
+
+```json
+{
+ "type": "manual",
+ "defaultManualBrokerService": "druid:broker-hot"
Review comment:
is defaultManualBrokerService required?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]