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

GH-5: Use DebeziumMessageProducer from Spring Integration #33

Merged
merged 2 commits into from
Feb 26, 2024
Merged

Conversation

artembilan
Copy link
Collaborator

Fixes: #5

  • Expose enableEmptyPayload and headerNamesToMap configuration properties instead of plain copyHeaders
  • All the logic now is hidden in the DebeziumMessageProducer
  • Clean up tests according to a new code base
  • Fix warning for the deprecated Debezium properties. Now only one delete.tombstone.handling.mode is needed
  • Optimize the code flow for the StepVerifier via conversion pulled up to the Flux
  • Apparently there is some race condition in the EmbeddedEngine around stop functionality, so, add debezium.embedded.shutdown.pause.before.interrupt.ms=500 instead of 5 minutes by default

Fixes: #5

* Expose `enableEmptyPayload` and `headerNamesToMap` configuration properties instead of plain `copyHeaders`
* All the logic now is hidden in the `DebeziumMessageProducer`
* Clean up tests according to a new code base
* Fix warning for the deprecated Debezium properties.
Now only one `delete.tombstone.handling.mode` is needed
* Optimize the code flow for the `StepVerifier` via conversion pulled up to the `Flux`
* Apparently there is some race condition in the `EmbeddedEngine` around stop functionality,
so, add `debezium.embedded.shutdown.pause.before.interrupt.ms=500` instead of `5 minutes` by default
@artembilan artembilan requested review from onobc and tzolov February 23, 2024 19:52
Copy link
Collaborator

@onobc onobc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @artembilan ! Using the Spring Integration adapter really removed a ton of code.

@onobc onobc merged commit 5378b99 into main Feb 26, 2024
3 checks passed
@onobc onobc deleted the GH-5 branch February 26, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rework Debezium Supplier to DebeziumMessageProducer from Spring Integration
2 participants