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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MSK2InternalClientgetKafkaClient(MSK2Configuration configuration)Return the correct AWS Kafka client (based on remote vs local).
-
-
-
Method Detail
-
getKafkaClient
public static MSK2InternalClient getKafkaClient(MSK2Configuration configuration)
Return the correct AWS Kafka client (based on remote vs local).- Parameters:
configuration- configuration- Returns:
- MqClient
-
-