Fixing issue with KinesisClientUtil class (#433)
* Passing HttpClientBuilder to the client instead of HttpClient
This commit is contained in:
parent
e86bf3d7f3
commit
9e420d83e4
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ public class KinesisClientUtil {
|
|||
* @return
|
||||
*/
|
||||
public static KinesisAsyncClient createKinesisAsyncClient(KinesisAsyncClientBuilder clientBuilder) {
|
||||
return clientBuilder.httpClient(NettyNioAsyncHttpClient.builder().maxConcurrency(Integer.MAX_VALUE).build())
|
||||
return clientBuilder.httpClientBuilder(NettyNioAsyncHttpClient.builder().maxConcurrency(Integer.MAX_VALUE))
|
||||
.build();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue