Skip to content
Visit booth 3171 at Google Cloud Next to see how to unlock real-time decisions at scaleMore info

Configure routing to ESP destinations

This page describes how to configure the routing section of the /etc/aerospike-esp-outbound/aerospike-esp-outbound.yml which controls how Aerospike records are routed to an ESP destination that was configured in the destinations section.

The following routing modes are available.

  • static-multi-destination List of destinations to route to.
  • skip Skip dispatch of record to the destination and ack success to XDR.
  • custom Route with custom code.

Static Multi Destination Routing

This routing sends the same change notification record to multiple destinations.

For static-multi-destination routing, the configuration options are:

OptionRequiredDefaultDescription
modeyesUse static-multi-destination .
destinationsyesList of destination names configured the destinations section.

Example

routing:
mode: static-multi-destination
destinations:
- "xdr-proxy1"
- "xdr-proxy2"

Skip routing

For skip routing, the configuration options are:

OptionRequiredExpected valueDescription
modeyesskipSkip dispatch of record to the destination and ack success to XDR.

Example

routing:
mode: skip

Custom Routing

Record can be also be routed with custom code. See Routing Transform.

Example

routing:
mode: custom
class: com.aerospike.connect.outbound.example.GenerationRouter
Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?