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: make mq interface simpler. #337

Merged
merged 2 commits into from
Oct 24, 2022

Conversation

Rachelint
Copy link
Contributor

Which issue does this PR close?

Closes #

Rationale for this change

The race's checking should not be done in mq interface level, it should be done in high-level. So I refactor it to make it simpler.

What changes are included in this PR?

Refactor the mq interface and its kafka implemetation.

Are there any user-facing changes?

None.

How does this change test

By new and exist ut.

components/message_queue/src/kafka/kafka_impl.rs Outdated Show resolved Hide resolved
components/message_queue/src/kafka/kafka_impl.rs Outdated Show resolved Hide resolved
components/message_queue/src/lib.rs Outdated Show resolved Hide resolved
components/message_queue/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Member

@ShiKaiWi ShiKaiWi left a comment

Choose a reason for hiding this comment

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

LGTM

@Rachelint Rachelint merged commit 118affb into apache:main Oct 24, 2022
chunshao90 pushed a commit to chunshao90/ceresdb that referenced this pull request May 15, 2023
* make mq interface simpler.

* address CR.
@Rachelint Rachelint deleted the make-mq-interface-simpler branch May 27, 2023 12:19
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