Class MSK2ClientOptimizedImpl
- java.lang.Object
-
- org.apache.camel.component.aws2.msk.client.impl.MSK2ClientOptimizedImpl
-
- All Implemented Interfaces:
MSK2InternalClient
public class MSK2ClientOptimizedImpl extends Object implements 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
Constructors Constructor Description MSK2ClientOptimizedImpl(MSK2Configuration configuration)
Constructor that uses the config file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description software.amazon.awssdk.services.kafka.KafkaClient
getKafkaClient()
Getting the Kafka aws client that is used.
-
-
-
Constructor Detail
-
MSK2ClientOptimizedImpl
public MSK2ClientOptimizedImpl(MSK2Configuration configuration)
Constructor that uses the config file.
-
-
Method Detail
-
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.
-
-