Skip to content

NIFI-2567: Site-to-Site to send large data via HTTPS#857

Closed
ijokarumawak wants to merge 1 commit intoapache:masterfrom
ijokarumawak:nifi-2567
Closed

NIFI-2567: Site-to-Site to send large data via HTTPS#857
ijokarumawak wants to merge 1 commit intoapache:masterfrom
ijokarumawak:nifi-2567

Conversation

@ijokarumawak
Copy link
Member

  • It couldn't send data larger than about 7KB due to the mis-use of
    httpasyncclient library
  • Updated httpasyncclient from 4.1.1 to 4.1.2
  • Let httpasyncclient framework to call produceContent multiple times as
    it gets ready to send more data via SSL session
  • Added HTTPS test cases to TestHttpClient, which failed without this
    fix

I've tested using two secured NiFi clusters, confirmed it can send few hundreds MB files.

- It couldn't send data larger than about 7KB due to the mis-use of
  httpasyncclient library
- Updated httpasyncclient from 4.1.1 to 4.1.2
- Let httpasyncclient framework to call produceContent multiple times as
  it gets ready to send more data via SSL session
- Added HTTPS test cases to TestHttpClient, which failed without this
  fix
@markap14
Copy link
Contributor

Reviewing...

@markap14
Copy link
Contributor

@ijokarumawak this looks good! Tested by having data generated and pushed back to own 3-node cluster. Once received the data went to an Output Port so that I could pull it back through the same Remote Process Group. The generated data came in 4 sizes: 0 bytes, 1 KB, 1 MB, 50 MB. Was able to push (and pull back) around 1 million FlowFiles and several GB in 5 mins. Great work! +1 merged to master.

@markap14
Copy link
Contributor

@ijokarumawak unfortunately, I did forget to put the "This closes #857" in the commit message, so please close this PR when you get a chance.

@ijokarumawak
Copy link
Member Author

@markap14 Thanks for reviewing and merging this! Closing the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants