This is an agent that will detect the language of a message’s data and limit further processing based on language codes.
- name: "Detect language"
type: "language-detector"
input: "input-topic" # optional
output: "output-topic" # optional
configuration:
allowedLanguages: ["it"]
property: "language"
Checkout the full configuration properties in the API Reference page.