This is a simple Flink job that reads data from a Kafka topic messages
, sends them to OpenAI's GPT-3 API to get analysis, and then writes the analysis next to the message to a corresponding Kafka topic.
- You need the Aiven
integration_id
to retrieve the corresponding credential file, instruction are here - You need an OpenAI API key, you can get one here
mvn clean package
In the Create new deployment dialog look for the Program args field.
serviceCredentials
- The Aiven integration idopenAIKey
- The OpenAI API key