Class ExclamationFunction

java.lang.Object
org.apache.pulsar.functions.api.examples.ExclamationFunction
All Implemented Interfaces:
org.apache.pulsar.functions.api.Function<String,String>

public class ExclamationFunction extends Object implements org.apache.pulsar.functions.api.Function<String,String>
The classic Exclamation Function that appends an exclamation at the end of the input.
  • Constructor Details

    • ExclamationFunction

      public ExclamationFunction()
  • Method Details

    • process

      public String process(String input, org.apache.pulsar.functions.api.Context context)
      Specified by:
      process in interface org.apache.pulsar.functions.api.Function<String,String>