The IntentIq API Client is a Scala-based application designed to interact with the IntentIq API. It accepts Kafka messages as input, sends requests to the API, and stores the responses in Redis.
The application settings are defined in resources/application.conf
. Key configurations include:
Configuration | Description | Environment Variable |
---|---|---|
app-port |
The port the application runs on. | INTENTIQ_APP_PORT |
metrics-port |
The port for metrics. | INTENTIQ_METRICS_PORT |
api.url |
The base URL for the IntentIq API. | INTENTIQ_API_URL |
api.timeout |
Timeout for API requests. | INTENTIQ_API_TIMEOUT |
api.partner-token |
The partner token for API authentication. | INTENTIQ_PARTNER_TOKEN |