UpdateAttribute 2025.10.2.19

번들

org.apache.nifi | nifi-update-attribute-nar

설명

특성 표현식 언어를 사용하여 FlowFile 의 특성을 업데이트하거나 정규식을 기반으로 특성을 삭제합니다

태그

속성 식 언어, 속성, 삭제, 수정, 상태, 업데이트

입력 요구 사항

REQUIRED

민감한 동적 속성 지원

false

속성

속성

설명

특성 식 삭제하기

Regular expression for attributes to be deleted from FlowFiles. Existing attributes that match will be deleted regardless of whether they are updated by this processor.

상태 저장 변수 초기값

상태를 사용하여 변수를 설정/참조하는 경우 이 값은 상태 저장 변수의 초기 값을 설정하는 데 사용됩니다. 상태 변수에 값이 포함되지 않은 경우에만 @OnScheduled메서드에서 사용됩니다. 상태 저장적으로 실행하는 경우 필수가지만 필요한 경우 비워둘 수 있습니다.

스토어 상태

Select whether or not state will be stored. Selecting ‘Stateless’ will offer the default functionality of purely updating the attributes on a FlowFile in a stateless manner. Selecting a stateful option will not only store the attributes on the FlowFile but also in the Processors state. See the ‘Stateful Usage’ topic of the ‘Additional Details’section of this processor’s documentation for more information

canonical-value-lookup-cache-size

캐시에 저장할 표준 조회 값의 수를 지정합니다

상태 관리

범위

설명

LOCAL

FlowFile 뿐만 아니라 값을 상태 저장 변수로 저장하여 재귀적으로 참조할 수 있는 옵션을 제공합니다.

관계

이름

설명

성공

성공한 모든 FlowFiles 은 이 관계로 라우팅됩니다

Writes 특성

이름

설명

자세한 내용 보기

이 프로세서는 추가 세부 정보에 설명된 대로 0개 이상의 특성을 쓰거나 제거할 수 있습니다

사용 사례

새 FlowFile 특성 추가하기

FlowFile 특성을 새 값으로 덮어쓰기

파일 이름 바꾸기