Class MSK2ClientFactory

java.lang.Object
org.apache.camel.component.aws2.msk.client.MSK2ClientFactory

public final class MSK2ClientFactory extends Object
Factory class to return the correct type of AWS Kafka client.
  • Method Details

    • getKafkaClient

      public static MSK2InternalClient getKafkaClient(MSK2Configuration configuration)
      Return the correct AWS Kafka client (based on remote vs local).
      Parameters:
      configuration - configuration
      Returns:
      MqClient