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

Configure namespace settings

You can use the namespaces section of the /etc/aerospike-esp-outbound/aerospike-esp-outbound.yml to override settings for bin-name transformations, routing modes, and serialization formats.

OptionRequiredDescription
bin-transformsnoBin transforms for the namespace.
routingnoRouting for the namespace.
formatnoFormat for the namespace.
record-orderingnoRecord ordering for the namespace.
setsnoMap of set name to bin-transform, routing and format configuration.

For a given record the order of preference for picking the configuration for the bin-transforms, routing and format are:

  1. set, if configured
  2. namespace, if configured
  3. default

Example

routing:
mode: static
destination: all-data
namespaces:
users:
format:
mode: json
sets:
premium:
routing:
mode: static
destination: users-sets
bin-transforms:
transforms:
- uppercase

Details of the preceding example:

NamespaceSetRoutingFormatBin TransformsAction
usersall-datajsonWrite record to all-data topic in JSON format.
userspremiumusers-setsjsonuppercaseConvert all bin names to upper case and write record to users-sets topic in JSON format
placesSkip record, since routing or format information is missing.
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?