@Override public void open(int taskNumber, int numTasks) throws IOException { this.taskNumber = taskNumber; this.numTasks = numTasks; //open a socket to push data handler = new OutputPublisher(instance, ringBuffer); }
@Override public void open(Configuration configuration) throws UnknownHostException { String jobManagerAddress = configuration .getString("jobmanager.rpc.address", "localhost"); //open a socket to push data handler = new OutputPublisher(instance, buffer); }