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

[Enhancement] Support the MIXED message type #7109

Closed
1 task done
dingshuangxi888 opened this issue Aug 2, 2023 · 0 comments · Fixed by #7110
Closed
1 task done

[Enhancement] Support the MIXED message type #7109

dingshuangxi888 opened this issue Aug 2, 2023 · 0 comments · Fixed by #7110

Comments

@dingshuangxi888
Copy link
Contributor

Before Creating the Enhancement Request

  • I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Summary

We need to introduce a new message type called "MIXED" to support users sending different types of messages on the same topic. This will enable users to send messages of various types through a single topic.

Motivation

Currently, many users are using a single topic to send messages of different types. However, in the future, there is a desire to exert strict control over message types. Message type validation has already been implemented in the Proxy component. To support the transition of existing users to the Proxy architecture, a new message type called "MIXED" should be introduced to facilitate the migration process.

Describe the Solution You'd Like

  1. Add MIXED type in TopicMessageType,And modify the validation mechanism.
  2. Automatic recognition of message types when sending messages。

Describe Alternatives You've Considered

No.

Additional Context

No response

@dingshuangxi888 dingshuangxi888 changed the title [Enhancement] Support MIXED message type [Enhancement] Support the MIXED message type Aug 2, 2023
xdkxlk pushed a commit that referenced this issue Aug 3, 2023
* Add mixed message type.

* support mixed topic type for grpc server

* remove the unnecessary parentheses around expression

* format the javadoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant