Architecture Diagrams for /oryxproject/oryx[edit]
Packages / Module oryx-app-serving / com.cloudera.oryx.app.serving.als / Ingest

class Ingest

Responds to a POST to /ingest . For each line in the request body, a line of CSV text is written to the input Kafka topic, in the form userID,itemID,strength,timestamp . Strength must be a number and defaults to 1; an empty strength value signifies a delete. Timestamp must be a number of milliseconds since Jany 1, 1970. These values are parsed directly from the request body line, which may be in one of several forms: userID,itemID : strength defaults to 1 and timestamp is current system time userID,itemID, : interpreted as a "delete" for the user-item association. timestamp is current system time userID,itemID,strength : timestamp is current system time userID,itemID,strength,timestamp : all given values are parsed and used, including timestamp. The body may be compressed with gzip or deflate Content-Encoding . It may also by multipart/form-data encoded, and each part may be compressed with Content-Type application/zip , application/gzip , or application/x-gzip . In all events the uncompressed data should be text, encoding with UTF-8, and with \n line separators.
Class fields and methods
class Ingest
Responds to a POST to /ingest . For each line in the request body, a l...
method doPost(buffered)
method post(reader)