티스토리 뷰
Multipart로 request 받은 후, 관련 처리를 InvokeHTTP로 해주고, response를 내려주면 계속 파일도 함께 내려가는 경우가 발생.
- Ignore response's content : Disable writing HTTP response FlowFiles to Response relationship
InvokeHTTP processor의 Response를 그대로 HandleHttpResponse로 내려주어 발생하는 문제이다.
위 properties를 true로 설정 시 response에 code만 내려줄 수 있다.
InvokeHTTP
HTTP MethodGETHTTP request method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS). Arbitrary methods are also supported. Methods other than POST, PUT and PATCH will be sent without a message body.Supports Expression Language: true (will be evaluated using f
nifi.apache.org
또는 ModifyBytes processor를 추가해 content를 지울 수도 있다.
- Remove All Content: Remove all content from the FlowFile superseding Start Offset and End Offset properties.
ModifyBytes
Start Offset0 BNumber of bytes removed at the beginning of the file.Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
nifi.apache.org
'오답노트' 카테고리의 다른 글
[NiFi] ModifyBytes - Content 없애기 (0) | 2022.09.08 |
---|---|
[NiFi] could not find an HTTP Response Object for this identifier (1) | 2022.09.08 |
[Spring boot] 왜 로그가 안찍혀?(springProfile) (0) | 2022.09.08 |
Intellj serialVersionUID warning 설정 (0) | 2022.04.13 |
OOME(OutOfMemoryError) (0) | 2022.04.13 |
- Total
- Today
- Yesterday