Class 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 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 interface MSK2InternalClient
        Returns:
        Kafka Client.