Class MergeTopicFunction

  • All Implemented Interfaces:
    org.apache.pulsar.functions.api.Function<org.apache.pulsar.client.api.schema.GenericRecord,​byte[]>

    public class MergeTopicFunction
    extends java.lang.Object
    implements org.apache.pulsar.functions.api.Function<org.apache.pulsar.client.api.schema.GenericRecord,​byte[]>
    Merge various schemas data to a topic.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] process​(org.apache.pulsar.client.api.schema.GenericRecord genericRecord, 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

      • MergeTopicFunction

        public MergeTopicFunction()
    • Method Detail

      • process

        public byte[] process​(org.apache.pulsar.client.api.schema.GenericRecord genericRecord,
                              org.apache.pulsar.functions.api.Context context)
                       throws java.lang.Exception
        Specified by:
        process in interface org.apache.pulsar.functions.api.Function<org.apache.pulsar.client.api.schema.GenericRecord,​byte[]>
        Throws:
        java.lang.Exception