public class TypedMessageBuilderPublishextends Object
implements org.apache.pulsar.functions.api.Function<String,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.