You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tubemq.apache.org by "netroby (Jira)" <ji...@apache.org> on 2020/06/04 07:47:00 UTC
[jira] [Commented] (TUBEMQ-65) Remove the Protocol Buffers
component dependency
[ https://issues.apache.org/jira/browse/TUBEMQ-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17125640#comment-17125640 ]
netroby commented on TUBEMQ-65:
-------------------------------
For my prespective. MQ is platform , it does not limit what message protocol used.
We can sent JSON , Binary protocol, encrypted message, Plain text, Or whatever message through MQ system.
So why TubeMQ Must rely on protobuf?
> Remove the Protocol Buffers component dependency
> ------------------------------------------------
>
> Key: TUBEMQ-65
> URL: https://issues.apache.org/jira/browse/TUBEMQ-65
> Project: Apache TubeMQ
> Issue Type: New Feature
> Reporter: Guocheng Zhang
> Priority: Normal
>
> TubeMQ uses Protocol Buffers, mainly for borrowing and only borrowing pb's ZigZag, Varints encoding scheme to facilitate the construction of the underlying network message package. It doesn't matter which version of PB is specific, so you can see that this version is very old.
> Actually, we found that if this piece is bound to PB, the compile time requires the business to install this component in advance, and at the same time, the issued SDK is likely to form a dependency conflict with the business's PB version.
> In the future, deleting PB component dependencies may be a better choice.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)