Class ContentBasedRouter<R extends org.apache.kafka.connect.connector.ConnectRecord<R>>

  • Type Parameters:
    R - the subtype of ConnectRecord on which this transformation will operate
    All Implemented Interfaces:
    Closeable, AutoCloseable, org.apache.kafka.common.Configurable, org.apache.kafka.connect.transforms.Transformation<R>

    @Incubating
    public class ContentBasedRouter<R extends org.apache.kafka.connect.connector.ConnectRecord<R>>
    extends ScriptingTransformation<R>
    This SMT allows to route records to specific topics depending on their content, an expression and language configured.
    Author:
    Jiri Pechanec
    • Field Detail

      • EXPRESSION

        public static final Field EXPRESSION
    • Constructor Detail

      • ContentBasedRouter

        public ContentBasedRouter()