Class HostAppenderFunction

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

public class HostAppenderFunction extends Object implements org.apache.pulsar.functions.api.Function<String,String>
Function that appends the host name to the payload message.
  • Constructor Details

    • HostAppenderFunction

      public HostAppenderFunction()
  • 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>