@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSKafkaAsyncClient extends AWSKafkaClient implements AWSKafkaAsync
AsyncHandler can be used to receive notification when an
asynchronous operation completes.
The operations for managing an Amazon MSK cluster.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbatchAssociateScramSecret, batchDisassociateScramSecret, builder, createCluster, createClusterV2, createConfiguration, deleteCluster, deleteConfiguration, describeCluster, describeClusterOperation, describeClusterV2, describeConfiguration, describeConfigurationRevision, getBootstrapBrokers, getCachedResponseMetadata, getCompatibleKafkaVersions, listClusterOperations, listClusters, listClustersV2, listConfigurationRevisions, listConfigurations, listKafkaVersions, listNodes, listScramSecrets, listTagsForResource, rebootBroker, tagResource, untagResource, updateBrokerCount, updateBrokerStorage, updateBrokerType, updateClusterConfiguration, updateClusterKafkaVersion, updateConfiguration, updateConnectivity, updateMonitoring, updateSecurityaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchAssociateScramSecret, batchDisassociateScramSecret, createCluster, createClusterV2, createConfiguration, deleteCluster, deleteConfiguration, describeCluster, describeClusterOperation, describeClusterV2, describeConfiguration, describeConfigurationRevision, getBootstrapBrokers, getCachedResponseMetadata, getCompatibleKafkaVersions, listClusterOperations, listClusters, listClustersV2, listConfigurationRevisions, listConfigurations, listKafkaVersions, listNodes, listScramSecrets, listTagsForResource, rebootBroker, tagResource, untagResource, updateBrokerCount, updateBrokerStorage, updateBrokerType, updateClusterConfiguration, updateClusterKafkaVersion, updateConfiguration, updateConnectivity, updateMonitoring, updateSecuritypublic static AWSKafkaAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchAssociateScramSecretResult> batchAssociateScramSecretAsync(BatchAssociateScramSecretRequest request)
AWSKafkaAsyncAssociates one or more Scram Secrets with an Amazon MSK cluster.
batchAssociateScramSecretAsync in interface AWSKafkaAsyncrequest - Associates sasl scram secrets to cluster.
public Future<BatchAssociateScramSecretResult> batchAssociateScramSecretAsync(BatchAssociateScramSecretRequest request, AsyncHandler<BatchAssociateScramSecretRequest,BatchAssociateScramSecretResult> asyncHandler)
AWSKafkaAsyncAssociates one or more Scram Secrets with an Amazon MSK cluster.
batchAssociateScramSecretAsync in interface AWSKafkaAsyncrequest - Associates sasl scram secrets to cluster.
asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchDisassociateScramSecretResult> batchDisassociateScramSecretAsync(BatchDisassociateScramSecretRequest request)
AWSKafkaAsyncDisassociates one or more Scram Secrets from an Amazon MSK cluster.
batchDisassociateScramSecretAsync in interface AWSKafkaAsyncrequest - Disassociates sasl scram secrets to cluster.
public Future<BatchDisassociateScramSecretResult> batchDisassociateScramSecretAsync(BatchDisassociateScramSecretRequest request, AsyncHandler<BatchDisassociateScramSecretRequest,BatchDisassociateScramSecretResult> asyncHandler)
AWSKafkaAsyncDisassociates one or more Scram Secrets from an Amazon MSK cluster.
batchDisassociateScramSecretAsync in interface AWSKafkaAsyncrequest - Disassociates sasl scram secrets to cluster.
asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request)
AWSKafkaAsyncCreates a new MSK cluster.
createClusterAsync in interface AWSKafkaAsyncpublic Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request, AsyncHandler<CreateClusterRequest,CreateClusterResult> asyncHandler)
AWSKafkaAsyncCreates a new MSK cluster.
createClusterAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateClusterV2Result> createClusterV2Async(CreateClusterV2Request request)
AWSKafkaAsyncCreates a new MSK cluster.
createClusterV2Async in interface AWSKafkaAsyncpublic Future<CreateClusterV2Result> createClusterV2Async(CreateClusterV2Request request, AsyncHandler<CreateClusterV2Request,CreateClusterV2Result> asyncHandler)
AWSKafkaAsyncCreates a new MSK cluster.
createClusterV2Async in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateConfigurationResult> createConfigurationAsync(CreateConfigurationRequest request)
AWSKafkaAsyncCreates a new MSK configuration.
createConfigurationAsync in interface AWSKafkaAsyncpublic Future<CreateConfigurationResult> createConfigurationAsync(CreateConfigurationRequest request, AsyncHandler<CreateConfigurationRequest,CreateConfigurationResult> asyncHandler)
AWSKafkaAsyncCreates a new MSK configuration.
createConfigurationAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request)
AWSKafkaAsyncDeletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
deleteClusterAsync in interface AWSKafkaAsyncpublic Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request, AsyncHandler<DeleteClusterRequest,DeleteClusterResult> asyncHandler)
AWSKafkaAsyncDeletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
deleteClusterAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteConfigurationResult> deleteConfigurationAsync(DeleteConfigurationRequest request)
AWSKafkaAsyncDeletes an MSK Configuration.
deleteConfigurationAsync in interface AWSKafkaAsyncpublic Future<DeleteConfigurationResult> deleteConfigurationAsync(DeleteConfigurationRequest request, AsyncHandler<DeleteConfigurationRequest,DeleteConfigurationResult> asyncHandler)
AWSKafkaAsyncDeletes an MSK Configuration.
deleteConfigurationAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeClusterResult> describeClusterAsync(DescribeClusterRequest request)
AWSKafkaAsyncReturns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
describeClusterAsync in interface AWSKafkaAsyncpublic Future<DescribeClusterResult> describeClusterAsync(DescribeClusterRequest request, AsyncHandler<DescribeClusterRequest,DescribeClusterResult> asyncHandler)
AWSKafkaAsyncReturns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
describeClusterAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeClusterOperationResult> describeClusterOperationAsync(DescribeClusterOperationRequest request)
AWSKafkaAsyncReturns a description of the cluster operation specified by the ARN.
describeClusterOperationAsync in interface AWSKafkaAsyncpublic Future<DescribeClusterOperationResult> describeClusterOperationAsync(DescribeClusterOperationRequest request, AsyncHandler<DescribeClusterOperationRequest,DescribeClusterOperationResult> asyncHandler)
AWSKafkaAsyncReturns a description of the cluster operation specified by the ARN.
describeClusterOperationAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeClusterV2Result> describeClusterV2Async(DescribeClusterV2Request request)
AWSKafkaAsyncReturns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
describeClusterV2Async in interface AWSKafkaAsyncpublic Future<DescribeClusterV2Result> describeClusterV2Async(DescribeClusterV2Request request, AsyncHandler<DescribeClusterV2Request,DescribeClusterV2Result> asyncHandler)
AWSKafkaAsyncReturns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
describeClusterV2Async in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeConfigurationResult> describeConfigurationAsync(DescribeConfigurationRequest request)
AWSKafkaAsyncReturns a description of this MSK configuration.
describeConfigurationAsync in interface AWSKafkaAsyncpublic Future<DescribeConfigurationResult> describeConfigurationAsync(DescribeConfigurationRequest request, AsyncHandler<DescribeConfigurationRequest,DescribeConfigurationResult> asyncHandler)
AWSKafkaAsyncReturns a description of this MSK configuration.
describeConfigurationAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeConfigurationRevisionResult> describeConfigurationRevisionAsync(DescribeConfigurationRevisionRequest request)
AWSKafkaAsyncReturns a description of this revision of the configuration.
describeConfigurationRevisionAsync in interface AWSKafkaAsyncpublic Future<DescribeConfigurationRevisionResult> describeConfigurationRevisionAsync(DescribeConfigurationRevisionRequest request, AsyncHandler<DescribeConfigurationRevisionRequest,DescribeConfigurationRevisionResult> asyncHandler)
AWSKafkaAsyncReturns a description of this revision of the configuration.
describeConfigurationRevisionAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBootstrapBrokersResult> getBootstrapBrokersAsync(GetBootstrapBrokersRequest request)
AWSKafkaAsyncA list of brokers that a client application can use to bootstrap.
getBootstrapBrokersAsync in interface AWSKafkaAsyncpublic Future<GetBootstrapBrokersResult> getBootstrapBrokersAsync(GetBootstrapBrokersRequest request, AsyncHandler<GetBootstrapBrokersRequest,GetBootstrapBrokersResult> asyncHandler)
AWSKafkaAsyncA list of brokers that a client application can use to bootstrap.
getBootstrapBrokersAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetCompatibleKafkaVersionsResult> getCompatibleKafkaVersionsAsync(GetCompatibleKafkaVersionsRequest request)
AWSKafkaAsyncGets the Apache Kafka versions to which you can update the MSK cluster.
getCompatibleKafkaVersionsAsync in interface AWSKafkaAsyncpublic Future<GetCompatibleKafkaVersionsResult> getCompatibleKafkaVersionsAsync(GetCompatibleKafkaVersionsRequest request, AsyncHandler<GetCompatibleKafkaVersionsRequest,GetCompatibleKafkaVersionsResult> asyncHandler)
AWSKafkaAsyncGets the Apache Kafka versions to which you can update the MSK cluster.
getCompatibleKafkaVersionsAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListClusterOperationsResult> listClusterOperationsAsync(ListClusterOperationsRequest request)
AWSKafkaAsyncReturns a list of all the operations that have been performed on the specified MSK cluster.
listClusterOperationsAsync in interface AWSKafkaAsyncpublic Future<ListClusterOperationsResult> listClusterOperationsAsync(ListClusterOperationsRequest request, AsyncHandler<ListClusterOperationsRequest,ListClusterOperationsResult> asyncHandler)
AWSKafkaAsyncReturns a list of all the operations that have been performed on the specified MSK cluster.
listClusterOperationsAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListClustersResult> listClustersAsync(ListClustersRequest request)
AWSKafkaAsyncReturns a list of all the MSK clusters in the current Region.
listClustersAsync in interface AWSKafkaAsyncpublic Future<ListClustersResult> listClustersAsync(ListClustersRequest request, AsyncHandler<ListClustersRequest,ListClustersResult> asyncHandler)
AWSKafkaAsyncReturns a list of all the MSK clusters in the current Region.
listClustersAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListClustersV2Result> listClustersV2Async(ListClustersV2Request request)
AWSKafkaAsyncReturns a list of all the MSK clusters in the current Region.
listClustersV2Async in interface AWSKafkaAsyncpublic Future<ListClustersV2Result> listClustersV2Async(ListClustersV2Request request, AsyncHandler<ListClustersV2Request,ListClustersV2Result> asyncHandler)
AWSKafkaAsyncReturns a list of all the MSK clusters in the current Region.
listClustersV2Async in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListConfigurationRevisionsResult> listConfigurationRevisionsAsync(ListConfigurationRevisionsRequest request)
AWSKafkaAsyncReturns a list of all the MSK configurations in this Region.
listConfigurationRevisionsAsync in interface AWSKafkaAsyncpublic Future<ListConfigurationRevisionsResult> listConfigurationRevisionsAsync(ListConfigurationRevisionsRequest request, AsyncHandler<ListConfigurationRevisionsRequest,ListConfigurationRevisionsResult> asyncHandler)
AWSKafkaAsyncReturns a list of all the MSK configurations in this Region.
listConfigurationRevisionsAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListConfigurationsResult> listConfigurationsAsync(ListConfigurationsRequest request)
AWSKafkaAsyncReturns a list of all the MSK configurations in this Region.
listConfigurationsAsync in interface AWSKafkaAsyncpublic Future<ListConfigurationsResult> listConfigurationsAsync(ListConfigurationsRequest request, AsyncHandler<ListConfigurationsRequest,ListConfigurationsResult> asyncHandler)
AWSKafkaAsyncReturns a list of all the MSK configurations in this Region.
listConfigurationsAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListKafkaVersionsResult> listKafkaVersionsAsync(ListKafkaVersionsRequest request)
AWSKafkaAsyncReturns a list of Apache Kafka versions.
listKafkaVersionsAsync in interface AWSKafkaAsyncpublic Future<ListKafkaVersionsResult> listKafkaVersionsAsync(ListKafkaVersionsRequest request, AsyncHandler<ListKafkaVersionsRequest,ListKafkaVersionsResult> asyncHandler)
AWSKafkaAsyncReturns a list of Apache Kafka versions.
listKafkaVersionsAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListNodesResult> listNodesAsync(ListNodesRequest request)
AWSKafkaAsyncReturns a list of the broker nodes in the cluster.
listNodesAsync in interface AWSKafkaAsyncpublic Future<ListNodesResult> listNodesAsync(ListNodesRequest request, AsyncHandler<ListNodesRequest,ListNodesResult> asyncHandler)
AWSKafkaAsyncReturns a list of the broker nodes in the cluster.
listNodesAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListScramSecretsResult> listScramSecretsAsync(ListScramSecretsRequest request)
AWSKafkaAsyncReturns a list of the Scram Secrets associated with an Amazon MSK cluster.
listScramSecretsAsync in interface AWSKafkaAsyncpublic Future<ListScramSecretsResult> listScramSecretsAsync(ListScramSecretsRequest request, AsyncHandler<ListScramSecretsRequest,ListScramSecretsResult> asyncHandler)
AWSKafkaAsyncReturns a list of the Scram Secrets associated with an Amazon MSK cluster.
listScramSecretsAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSKafkaAsyncReturns a list of the tags associated with the specified resource.
listTagsForResourceAsync in interface AWSKafkaAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSKafkaAsyncReturns a list of the tags associated with the specified resource.
listTagsForResourceAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RebootBrokerResult> rebootBrokerAsync(RebootBrokerRequest request)
AWSKafkaAsyncrebootBrokerAsync in interface AWSKafkaAsyncrequest - Reboots a node.public Future<RebootBrokerResult> rebootBrokerAsync(RebootBrokerRequest request, AsyncHandler<RebootBrokerRequest,RebootBrokerResult> asyncHandler)
AWSKafkaAsyncrebootBrokerAsync in interface AWSKafkaAsyncrequest - Reboots a node.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSKafkaAsyncAdds tags to the specified MSK resource.
tagResourceAsync in interface AWSKafkaAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSKafkaAsyncAdds tags to the specified MSK resource.
tagResourceAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSKafkaAsyncRemoves the tags associated with the keys that are provided in the query.
untagResourceAsync in interface AWSKafkaAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSKafkaAsyncRemoves the tags associated with the keys that are provided in the query.
untagResourceAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateBrokerCountResult> updateBrokerCountAsync(UpdateBrokerCountRequest request)
AWSKafkaAsyncUpdates the number of broker nodes in the cluster.
updateBrokerCountAsync in interface AWSKafkaAsyncpublic Future<UpdateBrokerCountResult> updateBrokerCountAsync(UpdateBrokerCountRequest request, AsyncHandler<UpdateBrokerCountRequest,UpdateBrokerCountResult> asyncHandler)
AWSKafkaAsyncUpdates the number of broker nodes in the cluster.
updateBrokerCountAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateBrokerStorageResult> updateBrokerStorageAsync(UpdateBrokerStorageRequest request)
AWSKafkaAsyncUpdates the EBS storage associated with MSK brokers.
updateBrokerStorageAsync in interface AWSKafkaAsyncpublic Future<UpdateBrokerStorageResult> updateBrokerStorageAsync(UpdateBrokerStorageRequest request, AsyncHandler<UpdateBrokerStorageRequest,UpdateBrokerStorageResult> asyncHandler)
AWSKafkaAsyncUpdates the EBS storage associated with MSK brokers.
updateBrokerStorageAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateBrokerTypeResult> updateBrokerTypeAsync(UpdateBrokerTypeRequest request)
AWSKafkaAsyncUpdates EC2 instance type.
updateBrokerTypeAsync in interface AWSKafkaAsyncpublic Future<UpdateBrokerTypeResult> updateBrokerTypeAsync(UpdateBrokerTypeRequest request, AsyncHandler<UpdateBrokerTypeRequest,UpdateBrokerTypeResult> asyncHandler)
AWSKafkaAsyncUpdates EC2 instance type.
updateBrokerTypeAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateClusterConfigurationResult> updateClusterConfigurationAsync(UpdateClusterConfigurationRequest request)
AWSKafkaAsyncUpdates the cluster with the configuration that is specified in the request body.
updateClusterConfigurationAsync in interface AWSKafkaAsyncpublic Future<UpdateClusterConfigurationResult> updateClusterConfigurationAsync(UpdateClusterConfigurationRequest request, AsyncHandler<UpdateClusterConfigurationRequest,UpdateClusterConfigurationResult> asyncHandler)
AWSKafkaAsyncUpdates the cluster with the configuration that is specified in the request body.
updateClusterConfigurationAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateClusterKafkaVersionResult> updateClusterKafkaVersionAsync(UpdateClusterKafkaVersionRequest request)
AWSKafkaAsyncUpdates the Apache Kafka version for the cluster.
updateClusterKafkaVersionAsync in interface AWSKafkaAsyncpublic Future<UpdateClusterKafkaVersionResult> updateClusterKafkaVersionAsync(UpdateClusterKafkaVersionRequest request, AsyncHandler<UpdateClusterKafkaVersionRequest,UpdateClusterKafkaVersionResult> asyncHandler)
AWSKafkaAsyncUpdates the Apache Kafka version for the cluster.
updateClusterKafkaVersionAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateConfigurationResult> updateConfigurationAsync(UpdateConfigurationRequest request)
AWSKafkaAsyncUpdates an MSK configuration.
updateConfigurationAsync in interface AWSKafkaAsyncpublic Future<UpdateConfigurationResult> updateConfigurationAsync(UpdateConfigurationRequest request, AsyncHandler<UpdateConfigurationRequest,UpdateConfigurationResult> asyncHandler)
AWSKafkaAsyncUpdates an MSK configuration.
updateConfigurationAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateConnectivityResult> updateConnectivityAsync(UpdateConnectivityRequest request)
AWSKafkaAsyncUpdates the cluster's connectivity configuration.
updateConnectivityAsync in interface AWSKafkaAsyncrequest - Request body for UpdateConnectivity.public Future<UpdateConnectivityResult> updateConnectivityAsync(UpdateConnectivityRequest request, AsyncHandler<UpdateConnectivityRequest,UpdateConnectivityResult> asyncHandler)
AWSKafkaAsyncUpdates the cluster's connectivity configuration.
updateConnectivityAsync in interface AWSKafkaAsyncrequest - Request body for UpdateConnectivity.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateMonitoringResult> updateMonitoringAsync(UpdateMonitoringRequest request)
AWSKafkaAsyncUpdates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.
updateMonitoringAsync in interface AWSKafkaAsyncrequest - Request body for UpdateMonitoring.public Future<UpdateMonitoringResult> updateMonitoringAsync(UpdateMonitoringRequest request, AsyncHandler<UpdateMonitoringRequest,UpdateMonitoringResult> asyncHandler)
AWSKafkaAsyncUpdates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.
updateMonitoringAsync in interface AWSKafkaAsyncrequest - Request body for UpdateMonitoring.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateSecurityResult> updateSecurityAsync(UpdateSecurityRequest request)
AWSKafkaAsyncUpdates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.
updateSecurityAsync in interface AWSKafkaAsyncpublic Future<UpdateSecurityResult> updateSecurityAsync(UpdateSecurityRequest request, AsyncHandler<UpdateSecurityRequest,UpdateSecurityResult> asyncHandler)
AWSKafkaAsyncUpdates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.
updateSecurityAsync in interface AWSKafkaAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSKafkashutdown in class AWSKafkaClient