Routing Clients On The Broker Routing Page

You can route clients to Brokers using rules based on Driver properties. This is similar to how you can route Engines to Brokers by creating routing rules based on user-defined properties. This limits Drivers that log in to a Broker based on the value of one or more properties, using comparators you have defined.

To enable Driver Routing:

1. Define one or more properties in the driver.properties file used by the Driver. You can view a Driver’s properties at the Grid Components > Drivers > Driver Admin page.
2. Go to the Grid Components > Brokers > Broker Routing page. Select a Broker from the list.
3. Click Edit.
4. In the Driver column are comparators for Drivers. Enter one or more comparators by entering a property name, selecting an operator, entering a value, then clicking Add. You can also select Is Missing, which evaluates the comparator as true if the property is not present on a Driver.

Multiple comparators are ANDed together. If the comparators evaluate to true, the Driver is allowed to log in to the Broker. Note that property names and values are case-sensitive.

You can add a single property in a comparator that holds different values by using a comma-delimited value. For example, Broker A can have a comparator matching a username property to be equal to TestUser1 or TestUser2 . If a Driver submits with either TestUser1 or TestUser2 values, the Tasks are then routed to Broker A. In this use case, the query must be: username equals TestUser1,TestUser2.