-
Notifications
You must be signed in to change notification settings - Fork 4
RegexFilter
vrudenskyi edited this page Sep 27, 2022
·
5 revisions
Transformation allows keep or drop messages using regular expression rules
com.vrudenskyi.kafka.connect.transform.RegexFilter
Name | Description | Type | Default | Notes |
---|---|---|---|---|
applyTo | defines parts of a kafka message where transformation will be applied | list | required | list of 'keywords' defined in Expressions |
conditions | list of condition can be defined for each rule definitions | list | required | |
filterType |
drop - drop event if any condition matches, keep otherwise keep - keep event if any condition matches, drop otherwise |
string | drop |
Name | Description | Type | Default | Notes |
---|---|---|---|---|
applyToValue | custom string data conditions will be applied to | string | if defined conditions will be applied to the value. Expressions supported. | |
applyToField | string data for regexp will be extracted from a part of a structured message | string |