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