Class MSK2ClientProfileOptimizedImpl

java.lang.Object
org.apache.camel.component.aws2.msk.client.impl.MSK2ClientProfileOptimizedImpl
All Implemented Interfaces:
MSK2InternalClient

public class MSK2ClientProfileOptimizedImpl 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 Details

    • MSK2ClientProfileOptimizedImpl

      public MSK2ClientProfileOptimizedImpl(MSK2Configuration configuration)
      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 interface MSK2InternalClient
      Returns:
      Kafka Client.