You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tubemq.apache.org by GitBox <gi...@apache.org> on 2020/12/15 03:24:21 UTC

[GitHub] [incubator-tubemq] gosonzhang edited a comment on pull request #349: [TUBEMQ-451]Replace ConsumeTupleInfo with Tuple2

gosonzhang edited a comment on pull request #349:
URL: https://github.com/apache/incubator-tubemq/pull/349#issuecomment-745027119


   @yuanboliu 
   
   Yes, I know, the apache common jar includes Pair and Triple classes.
   
   In this scenario, I just do a simple return result encapsulation, without much content, and don’t want to introduce a large class for a return value encapsulation class to make the system very bloated; at the same time, I think its scheme is too rigid, tuple can be 2-tuples, 3-tuples, 4-tuples, etc, if only Pair and Triple are allowed, this is not good for subsequent program definitions.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org