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 Details

    • MSK2ClientOptimizedImpl

      public MSK2ClientOptimizedImpl(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.