Interface MqttToKafkaTransformer

  • All Superinterfaces:
    Transformer<MqttToKafkaInitInput>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface MqttToKafkaTransformer
    extends Transformer<MqttToKafkaInitInput>
    Implement this transformer for the programmatic creation of KafkaRecords from PublishPackets.

    Your implementation of the MqttToKafkaTransformer must be placed in a java archive (.jar) together with all its dependencies in the customizations folder of the "HiveMQ Enterprise Extension for Kafka". In addition, a <mqtt-to-kafka-transformer> referencing the implementing class via its canonical name must be configured in the kafka-extension.xml file.

    Since:
    4.4.0