Java Examples for eu.stratosphere.streaming.rabbitmq.RMQSource

The following java examples will help you to understand the usage of eu.stratosphere.streaming.rabbitmq.RMQSource. These source code samples are taken from different open source projects.

Example 1
Project: strato-workshop-master  File: ALSPredictionTopology.java View source code
public static JobGraph getJobGraph(int partitionCount, int topItemCount) {
    JobGraphBuilder graphBuilder = new JobGraphBuilder("ALS prediction");
    graphBuilder.setSource("IDsource", new RMQSource("localhost", "hello"), 1, 1);
    graphBuilder.setTask("GetUserVectorTask", new GetUserVectorTask());
    return graphBuilder.getJobGraph();
}