SplitXml 2025.10.2.19

번들

org.apache.nifi | nifi-standard-nar

설명

XML 파일을 각각 원래 루트 요소의 하위 또는 하위 요소로 구성된 여러 개의 개별 FlowFiles 로 분할합니다

태그

split, xml

입력 요구 사항

REQUIRED

민감한 동적 속성 지원

false

속성

속성

설명

분할 깊이

Indicates the XML-nesting depth to start splitting XML fragments. A depth of 1 means split the root ‘s children, whereas a depth of 2 means split the root’s children’s children and so forth.

관계

이름

설명

실패

FlowFile 이 어떤 이유로든 처리에 실패하는 경우(예: FlowFile 이 유효하지 않은 XML), 이 관계로 라우팅됩니다

원본

세그먼트로 분할된 원본 FlowFile. FlowFile 처리에 실패하면 이 관계로 아무 것도 전송되지 않습니다

분할

원본 FlowFile 의 모든 세그먼트가 이 관계로 라우팅됩니다

Writes 특성

이름

설명

fragment.identifier

동일한 상위 항목 FlowFile 에서 생성된 모든 분할 FlowFiles 에는 이 특성에 대해 무작위로 생성된 UUID 가 추가됩니다

fragment.index

단일 상위 FlowFile 에서 생성된 분할 FlowFiles 의 순서를 나타내는 원업 번호입니다

fragment.count

상위 FlowFile 에서 생성된 분할 FlowFiles 의 수입니다

segment.original.filename

상위 FlowFile 의 파일 이름