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

allow bridge mq cost msg #162

Merged
merged 1 commit into from
May 20, 2022
Merged

Conversation

hezhangjian
Copy link

motivation

allow bridgemq to cost the message

changes

add bool return value on Publish method to allow bridge mq to cost the message

type BridgeMQ interface {
	Publish(e *Elements) (bool, error)
}

If the bridgeMq returns true, we won't send msg to it's subscriber

@hezhangjian hezhangjian force-pushed the allow-bridge-mq-cost-msg branch from 6f0d629 to 76a4afc Compare April 25, 2022 13:20
@hezhangjian
Copy link
Author

@chowyu08 PTAL, the conflict has been solved. thanks

@chowyu08 chowyu08 merged commit 5dc2114 into fhmq:master May 20, 2022
@hezhangjian hezhangjian deleted the allow-bridge-mq-cost-msg branch May 20, 2022 13:41
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