camel-ibm-watson-language-sink-kafka-connector sink configuration
Connector Description: Analyze text using IBM Watson Natural Language Understanding to extract sentiment, entities, keywords, concepts, categories, and emotions.
When using camel-ibm-watson-language-sink-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-ibm-watson-language-sink-kafka-connector</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel Kafka connector version -->
</dependency> To use this sink connector in Kafka connect you’ll need to set the following connector.class
connector.class=org.apache.camel.kafkaconnector.ibmwatsonlanguagesink.CamelIbmwatsonlanguagesinkSinkConnector The camel-ibm-watson-language-sink sink connector supports 9 options, which are listed below.
| Name | Description | Default | Priority |
|---|---|---|---|
Required The IBM Cloud API key for Watson Natural Language Understanding. | HIGH | ||
The Watson Natural Language Understanding service endpoint URL. If not specified, the default URL will be used. Example: https://api.us-south.natural-language-understanding.watson.cloud.ibm.com. | MEDIUM | ||
The operation to perform. | "analyzeText" | MEDIUM | |
Enable sentiment analysis to detect positive, negative, or neutral sentiment. | true | MEDIUM | |
Enable emotion analysis to detect emotions like joy, anger, sadness, fear, and disgust. | false | MEDIUM | |
Enable entity extraction to identify people, companies, organizations, cities, and more. | true | MEDIUM | |
Enable keyword extraction to identify important keywords and phrases. | true | MEDIUM | |
Enable concept extraction to identify high-level concepts that aren’t necessarily mentioned in the text. | false | MEDIUM | |
Enable category classification to classify content into a hierarchy of categories. | false | MEDIUM |
The camel-ibm-watson-language-sink sink connector has no converters out of the box.
The camel-ibm-watson-language-sink sink connector has no transforms out of the box.
The camel-ibm-watson-language-sink sink connector has no aggregation strategies out of the box.