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

DBZ-7722 Performance improve in KafkaRecordEmitter class #128

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

samssh
Copy link
Contributor

@samssh samssh commented Mar 29, 2024

delete synchronized block in KafkaRecordEmitter class to improve performance and use kafka producer callback. make FileOffsetWriter class operations async.

delete synchronized block in KafkaRecordEmitter class to improve performance and use kafka producer callback. make FileOffsetWriter class operations async.
Copy link
Contributor

@jpechane jpechane left a comment

Choose a reason for hiding this comment

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

@samssh Thanks for the PR, it is definiteyl great start. I left a couple of recommendations for use of Debezium standard utilities and few questions/proposals.

change OffsetWriter methods to return Future object to use async approaches. use ElapsedTimeStrategy in PeriodicFlushOffsetPolicy class. use io.debezium.util.Threads in FileOffsetWriter class.
@jpechane jpechane merged commit 40943a8 into debezium:main Apr 18, 2024
3 checks passed
@jpechane
Copy link
Contributor

@samssh Applied, thanks!

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.

2 participants