Skip to content

Latest commit

 

History

History

preprocessor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Preprocessor

It is a java program to process users' input data into Machine Learning Inference input (i.e. a tensor).

It works as follows:

  1. Listen messages from Kafka streams topic preprocess-request.
  2. Get the actual data from storage (mongodb) according to the information from the message.
  3. Transform the data to input tensor for creating Inference Request.
  4. Stream the Inference Request message to topic inference-request.
  5. Repeat the process.

Usage

# Build the jar file
mvn clean compile assembly:single
# Run the program
java -jar <Path to .jar file>