Interface RMQDeserializationSchema<T>

  • Type Parameters:
    T - The output type of the RMQSource
    All Superinterfaces:
    org.apache.flink.api.java.typeutils.ResultTypeQueryable<T>, Serializable

    @PublicEvolving
    public interface RMQDeserializationSchema<T>
    extends Serializable, org.apache.flink.api.java.typeutils.ResultTypeQueryable<T>
    Interface for the set of methods required to parse an RMQ delivery.
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      void deserialize​(com.rabbitmq.client.Envelope envelope, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] body, RMQDeserializationSchema.RMQCollector<T> collector)
      This method takes all the RabbitMQ delivery information supplied by the client extract the data and pass it to the collector.
      boolean isEndOfStream​(T nextElement)
      Method to decide whether the element signals the end of the stream.
      default void open​(org.apache.flink.api.common.serialization.DeserializationSchema.InitializationContext context)
      Initialization method for the schema.
      • Methods inherited from interface org.apache.flink.api.java.typeutils.ResultTypeQueryable

        getProducedType