Class MSK2ClientFactory
java.lang.Object
org.apache.camel.component.aws2.msk.client.MSK2ClientFactory
Factory class to return the correct type of AWS Kafka client.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MSK2InternalClientgetKafkaClient(MSK2Configuration configuration) Return the correct AWS Kafka client (based on remote vs local).
-
Method Details
-
getKafkaClient
Return the correct AWS Kafka client (based on remote vs local).- Parameters:
configuration- configuration- Returns:
- MqClient
-