Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 972 Bytes

File metadata and controls

44 lines (30 loc) · 972 Bytes

drop

This agent drops a message for further processing. Use in conjunction with the ‘when’ configuration to selectively drop messages.

Example

Given the input:

{
  "firstName": "value1",
  "lastName": "value2"
}

With an agent configuration of:

- name: "Cast to a string"
- name: "Drop user data"
  type: "drop"
  input: "input-topic" # optional
  output: "output-topic" # optional
  configuration:
    when: "value.firstName == value1"

There would be no output because the message is dropped.

Topics

Input

  • Structured only text ?
  • Implicit topic ?

Output

  • Structured text ?
  • Implicit topic ?

Configuration

Checkout the full configuration properties in the API Reference page.