public class KinesisConsumerAsyncAdapter extends Object implements software.amazon.awssdk.http.async.SdkAsyncHttpClient
CompletableFuture> object while AWS SDK returns empty
(void) CompletableFuture.
The AWS SDK returns response via
response handlers. If the returned CompletableFuture invokes callback
it means that AsyncExecuteRequest#responseHandler() holds a valid response. | Constructor and Description |
|---|
KinesisConsumerAsyncAdapter(org.mule.runtime.http.api.client.HttpClient httpClient,
int responseTimeout) |
| Modifier and Type | Method and Description |
|---|---|
String |
clientName() |
void |
close() |
CompletableFuture<Void> |
execute(software.amazon.awssdk.http.async.AsyncExecuteRequest asyncExecuteRequest) |
protected org.mule.runtime.api.util.MultiMap<String,String> |
transformAwsToMuleHeaders(Map<String,List<String>> input) |
protected Map<String,List<String>> |
transformMuleToAwsHeaders(org.mule.runtime.http.api.domain.message.response.HttpResponse httpResponse) |
public KinesisConsumerAsyncAdapter(org.mule.runtime.http.api.client.HttpClient httpClient,
int responseTimeout)
public CompletableFuture<Void> execute(software.amazon.awssdk.http.async.AsyncExecuteRequest asyncExecuteRequest)
execute in interface software.amazon.awssdk.http.async.SdkAsyncHttpClientpublic String clientName()
clientName in interface software.amazon.awssdk.http.async.SdkAsyncHttpClientpublic void close()
close in interface AutoCloseableclose in interface software.amazon.awssdk.utils.SdkAutoCloseableprotected Map<String,List<String>> transformMuleToAwsHeaders(org.mule.runtime.http.api.domain.message.response.HttpResponse httpResponse)
Copyright © 2025 MuleSoft, Inc.. All rights reserved.