티스토리 뷰
728x90
multipart request를 다루면서 다양한 processor들을 거친 후 response를 내려줄 때 계속 업로드한 original file이 함께 응답되는 현상이 발생하였다.
invokeHTTP의 경우 content를 무시하는 property로 관리가 되지만, 여러 processor에 대응가능한 방법이 필요했다.
그래서 찾아낸 processor.
ModifyBytes
Remove All Content : Remove all content from the FlowFile superseding Start Offset and End Offset properties.
ModifyBytes processor를 추가하고, Remove All Content property를 true로 설정하여 해결하였다.
728x90
'오답노트' 카테고리의 다른 글
[NiFi] multipart InvokeHTTP -> HandleHttpResponse response에 파일 지우기 (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
링크