Class TypedMessageBuilderPublish
- java.lang.Object
-
- org.apache.pulsar.functions.api.examples.TypedMessageBuilderPublish
-
- All Implemented Interfaces:
org.apache.pulsar.functions.api.Function<java.lang.String,java.lang.Void>
public class TypedMessageBuilderPublish extends java.lang.Object implements org.apache.pulsar.functions.api.Function<java.lang.String,java.lang.Void>Example function that uses the built in publish function in the context to publish to a desired topic based on config and setting various message configurations to be passed along.
-
-
Constructor Summary
Constructors Constructor Description TypedMessageBuilderPublish()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Voidprocess(java.lang.String input, org.apache.pulsar.functions.api.Context context)
-