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

refactor!: refactor the IMessageContext to a more concise structure #152

Merged
merged 5 commits into from
Apr 29, 2021

Conversation

filipeesch
Copy link
Contributor

Description

  • The Transform method now creates a new MessageContext containing the new Message
  • The middlewares executor do not clone the MessageContext any more
  • Renames the MessageContextConsumer to ConsumerContext and all information about the consumer and consumed message metadata is stored there
  • Creates the ProducerContext with all information about the producer and produced message metadata is stored there

Fixes #103

How Has This Been Tested?

The integration and unit tests were executed

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have added tests to cover my changes
  • I have made corresponding changes to the documentation

Disclaimer

By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement

@filipeesch filipeesch force-pushed the context-impro branch 3 times, most recently from 7673c29 to f8b76df Compare April 28, 2021 12:11
@filipeesch filipeesch changed the title WIP: refactor!: refactor the IMessageContext to a more concise structure refactor!: refactor the IMessageContext to a more concise structure Apr 28, 2021
-  The Transform method now creates a new MessageContext containing the new Message
-  The middlewares executor do not clone the MessageContext any more
-  Renames the MessageContextConsumer to ConsumerContext and all information about the consumer and consumed message metadata is stored there
-  Creates the ProducerContext and all information about the producer and produced message metadata is stored there
@filipeesch filipeesch force-pushed the context-impro branch 2 times, most recently from 41f818e to 9be095a Compare April 28, 2021 15:27
@filipeesch filipeesch merged commit cae653c into v2 Apr 29, 2021
@filipeesch filipeesch deleted the context-impro branch April 29, 2021 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants