[
https://issues.apache.org/jira/browse/TUBEMQ-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17082010#comment-17082010
]
Guocheng Zhang edited comment on TUBEMQ-63 at 4/13/20, 3:04 AM:
----------------------------------------------------------------
Thanks for TisonKun,
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.
Considering that TubeMQ is not a component with a wide audience such as Hbase,
whether it is a good method to install the script compilation embedded
dependency package, I don't know, and I worry that the first-time user may be
confused and increase the barrier to use. If you need this when you use it, you
can replace it directly.
Subsequent considerations: deleting PB component dependencies may be a better
choice.
was (Author: gosonzhang):
Thanks for TisonKun,
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 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.
Considering that TubeMQ is not a component with a wide audience such as Hbase,
whether it is a good method to install the script compilation embedded
dependency package, I don't know, and I worry that the first-time user may be
confused and increase the barrier to use. If you need this when you use it, you
can replace it directly.
Subsequent considerations: deleting PB component dependencies may be a better
choice.
> Replace force local dependency of protoc with auto-downloading
> --------------------------------------------------------------
>
> Key: TUBEMQ-63
> URL: https://issues.apache.org/jira/browse/TUBEMQ-63
> Project: Apache TubeMQ
> Issue Type: Improvement
> Reporter: Zili Chen
> Assignee: Zili Chen
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Hadoop and many other projects have done the migration and it seems an
> unfriendly user experience if we keep current plugin that forces users to
> manager their
> protoc.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)