Interface Transformer


  • public interface Transformer
    An interface for a transformation function. Transformations parse the message and may modify any data in the message (including keys). Needs to be thread safe.
    • Method Detail

      • warmup

        void warmup​(java.util.List<MessageInfo> messageInfos)
             throws java.lang.Exception
        Warms up transformer with message infos representing messages it will transform later
        Parameters:
        messageInfos - message infos that will be used to warmup transformer, each message info corresponds to a message the transformer is expected to convert in the immediate future
        Throws:
        java.lang.Exception