Github user ijokarumawak commented on the issue:
https://github.com/apache/nifi/pull/1306
Confirmed that the batch configuration works as expected by following tests.
### Test detail
- 3 node cluster
- Generate 100 flow files using GenerateFlowFile on primary node
- Send and receive 100 flow files using HTTP/RAW transport protocols with
different batch settings
- Confirmed flow files are distributed evenly based on batch configuration

### HTTP
- Push to remote input port
- [x] default setting: single remote peer gets all 100 files
- [x] limit with 10 files: each remote peer gets even flow files
- Pull from remote output port
- [x] default setting: single client node gets all 100 files
- [x] limit with 10 files: each client node gets even flow files
### RAW
- Push to remote input port
- [x] default setting: single remote peer gets all 100 files
- [x] limit with 10 files: each remote peer gets even flow files
- Pull from remote output port
- [x] default setting: single client node gets all 100 files
- [x] limit with 10 files: each client node gets even flow files
### Flow File Distribution result
Confirmed 100 flow files are evenly distributed among nodes if batch
setting is configured as following image. Confirmed the same behavior with
pulling from an output port.

---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---