Class ConfigBasedAppendFunction

  • All Implemented Interfaces:
    org.apache.pulsar.functions.api.Function<java.lang.String,​java.lang.String>

    public class ConfigBasedAppendFunction
    extends java.lang.Object
    implements org.apache.pulsar.functions.api.Function<java.lang.String,​java.lang.String>
    Function that appends something to incoming input based on config supplied.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String process​(java.lang.String input, org.apache.pulsar.functions.api.Context context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigBasedAppendFunction

        public ConfigBasedAppendFunction()
    • Method Detail

      • process

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