Class MSK2ClientOptimizedImpl
java.lang.Object
org.apache.camel.component.aws2.msk.client.impl.MSK2ClientOptimizedImpl
- All Implemented Interfaces:
MSK2InternalClient
Manage an AWS MSK client for all users to use (enabling temporary creds). This implementation is for remote instances
to manage the credentials on their own (eliminating credential rotations)
-
Constructor Summary
ConstructorDescriptionMSK2ClientOptimizedImpl
(MSK2Configuration configuration) Constructor that uses the config file. -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.kafka.KafkaClient
Getting the Kafka aws client that is used.
-
Constructor Details
-
MSK2ClientOptimizedImpl
Constructor that uses the config file.
-
-
Method Details
-
getKafkaClient
public software.amazon.awssdk.services.kafka.KafkaClient getKafkaClient()Getting the Kafka aws client that is used.- Specified by:
getKafkaClient
in interfaceMSK2InternalClient
- Returns:
- Kafka Client.
-