-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
The LoadGenerator.Builder currently lacks an easy way to set a ByteBufferPool, something like the following:
LoadGenerator.builder()
.byteBufferPool(bufferPool)
...Currently the only way to set the byte buffer pool is by configuring a httpClientTransportBuilder which requires:
- 9.4.x: overriding the
HTTPClientTransportBuilder'sbuild()method to create aHttpClientand set the byte buffer pool on it. - 10/11: overriding the
HTTPClientTransportBuilder'sgetConnector()method to return a customClientConnectorthat has the byte buffer pool set on it. This has the side effect of ignoring theLoadGenerator.Builder's configuredsslContextFactorywhich must be manually set on the customClientConnector.
None of this is straightforward nor easy to remember.