Checksum
Filter plugin : Checksumâ
- Author: InterestingLab
- Homepage: https://interestinglab.github.io/seatunnel-docs
- Version: 1.0.0
Descriptionâ
Calculate checksum(default algorithm is SHA1) of specific field and add a new field with the checksum value.
Optionsâ
name | type | required | default value |
---|---|---|---|
method | string | no | SHA1 |
source_field | string | no | raw_message |
target_field | string | no | checksum |
method [string]â
Checksum algorithm, supports SHA1,MD5 and CRC32 now.
source_field [string]â
Source field
target_field [string]â
Target field
Examplesâ
checksum {
source_field = "deviceId"
target_field = "device_crc32"
method = "CRC32"
}
Get CRC32 checksum from
deviceId
, and set it todevice_crc32