Stone.js API
    Preparing search index...
    • Build the default routing-key extractor.

      Reads the incoming event's metadata (the raw event the adapter captured), takes the key from the configurable source property, and the payload from metadata.detail or the whole metadata.

      Parameters

      • source: string

        The metadata property holding the routing key.

      Returns KeyRoutingExtractor

      An extractor.