Esempio n. 1
0
 public void Execute(StormTuple tuple)
 {
     Context.Logger.Info("SimpleDRPC Execute enter");
     
     string sentence = tuple.GetString(0) + "!";
     this.ctx.Emit("default", new List<StormTuple> { tuple }, new List<object> { sentence, tuple.GetValue(1) });
     Context.Logger.Info("SimpleDRPC Execute exit");
     ApacheStorm.Ack(tuple);
 }