aboutsummaryrefslogtreecommitdiffstats
path: root/documentapi/src/main/resources/configdefinitions/document-protocol-policies.def
blob: 19729017310a6fa56a01db08902779c0e2962611 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
namespace=documentapi.messagebus.protocol

##
## Super config for all policies in the document protocol, keyed by content cluster ids.
## Note: ContentPolicy also uses the "distribution" config.
##

#
# Config used by MessageTypeRouteSelectorPolicy
#
# Default route if no override is set for a type.
cluster{}.defaultRoute string

# The name of the route.
cluster{}.route[].name string

# The document protocol message type triggering this route.
cluster{}.route[].messageType int

#
# Config used by DocumentRouteSelectorPolicy
#
# The document selector for this cluster route.
cluster{}.selector string