Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RMQSource refactor #1

Merged
merged 5 commits into from May 9, 2020
Merged

Conversation

senegalo
Copy link
Owner

  • Instead of passing a DeserializationSchema to the constructor you pass
    an instance of RMQDeliveryParser.
  • RMQDeliveryParser instances have access to the Envelope,
    AMQP.BasicProperties and body of the message to be able to extract
    whatever information they need out of it.
  • RMQDeliveryParser is able to also extract the message corrolation ID
    from the envelope, AMQP.BasicProperties and or the body of the
    message giving you the flexibility to rely on another field other than
    the AMQP.BasicProperties.getProperties().getCorrolationID()

* Instead of passing a DeserializationSchema to the constructor you pass
  an instance of RMQDeliveryParser.
* RMQDeliveryParser instances have access to the Envelope,
  AMQP.BasicProperties and body of the message to be able to extract
  whatever information they need out of it.
* RMQDeliveryParser is able to also extract the message corrolation ID
  from the envelope, AMQP.BasicProperties and or the body of the
  message giving you the flexibility to rely on another field other than
  the AMQP.BasicProperties.getProperties().getCorrolationID()
@senegalo senegalo force-pushed the flink-connector-rabbitmq-interface branch from 604f717 to 4ec5015 Compare May 9, 2020 09:17
@senegalo senegalo merged commit f262348 into master May 9, 2020
@senegalo senegalo deleted the flink-connector-rabbitmq-interface branch May 9, 2020 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant