You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by GitBox <gi...@apache.org> on 2021/06/15 03:38:09 UTC

[GitHub] [incubator-eventmesh] iNanos opened a new pull request #388: remove custom-format topic concept

iNanos opened a new pull request #388:
URL: https://github.com/apache/incubator-eventmesh/pull/388


   #366   remove custom-format topic concept


-- 
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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] codecov-commenter commented on pull request #388: [ISSUE #366 ] remove custom-format topic concept

Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #388:
URL: https://github.com/apache/incubator-eventmesh/pull/388#issuecomment-861280635


   # [Codecov](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#388](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (f510c06) into [develop](https://codecov.io/gh/apache/incubator-eventmesh/commit/e54c1bfbb7c88b5a92d9b8de5eeead23c2af0321?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (e54c1bf) will **decrease** coverage by `0.00%`.
   > The diff coverage is `0.00%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/graphs/tree.svg?width=650&height=150&src=pr&token=IfkrgV55GT&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   
   ```diff
   @@             Coverage Diff              @@
   ##             develop    #388      +/-   ##
   ============================================
   - Coverage       2.86%   2.86%   -0.01%     
     Complexity        90      90              
   ============================================
     Files            224     224              
     Lines          11036   11042       +6     
     Branches         936     932       -4     
   ============================================
     Hits             316     316              
   - Misses         10675   10681       +6     
     Partials          45      45              
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
   |---|---|---|
   | [...he/eventmesh/common/protocol/SubscriptionItem.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZXZlbnRtZXNoL2NvbW1vbi9wcm90b2NvbC9TdWJzY3JpcHRpb25JdGVtLmphdmE=) | `0.00% <0.00%> (ø)` | |
   | [...he/eventmesh/common/protocol/SubscriptionMode.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZXZlbnRtZXNoL2NvbW1vbi9wcm90b2NvbC9TdWJzY3JpcHRpb25Nb2RlLmphdmE=) | `0.00% <0.00%> (ø)` | |
   | [...rotocol/http/body/client/HeartbeatRequestBody.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZXZlbnRtZXNoL2NvbW1vbi9wcm90b2NvbC9odHRwL2JvZHkvY2xpZW50L0hlYXJ0YmVhdFJlcXVlc3RCb2R5LmphdmE=) | `0.00% <ø> (ø)` | |
   | [...mmon/protocol/http/body/client/RegRequestBody.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZXZlbnRtZXNoL2NvbW1vbi9wcm90b2NvbC9odHRwL2JvZHkvY2xpZW50L1JlZ1JlcXVlc3RCb2R5LmphdmE=) | `0.00% <0.00%> (ø)` | |
   | [...rotocol/http/body/client/SubscribeRequestBody.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZXZlbnRtZXNoL2NvbW1vbi9wcm90b2NvbC9odHRwL2JvZHkvY2xpZW50L1N1YnNjcmliZVJlcXVlc3RCb2R5LmphdmE=) | `0.00% <0.00%> (ø)` | |
   | [...he/eventmesh/common/protocol/tcp/Subscription.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZXZlbnRtZXNoL2NvbW1vbi9wcm90b2NvbC90Y3AvU3Vic2NyaXB0aW9uLmphdmE=) | `0.00% <0.00%> (ø)` | |
   | [...he/eventmesh/runtime/boot/EventMeshHTTPServer.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLXJ1bnRpbWUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2V2ZW50bWVzaC9ydW50aW1lL2Jvb3QvRXZlbnRNZXNoSFRUUFNlcnZlci5qYXZh) | `0.00% <0.00%> (ø)` | |
   | [...apache/eventmesh/runtime/boot/EventMeshServer.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLXJ1bnRpbWUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2V2ZW50bWVzaC9ydW50aW1lL2Jvb3QvRXZlbnRNZXNoU2VydmVyLmphdmE=) | `0.00% <ø> (ø)` | |
   | [...ventmesh/runtime/constants/EventMeshConstants.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLXJ1bnRpbWUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2V2ZW50bWVzaC9ydW50aW1lL2NvbnN0YW50cy9FdmVudE1lc2hDb25zdGFudHMuamF2YQ==) | `0.00% <ø> (ø)` | |
   | [...ime/core/consumergroup/ConsumerGroupTopicConf.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLXJ1bnRpbWUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2V2ZW50bWVzaC9ydW50aW1lL2NvcmUvY29uc3VtZXJncm91cC9Db25zdW1lckdyb3VwVG9waWNDb25mLmphdmE=) | `0.00% <0.00%> (ø)` | |
   | ... and [23 more](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [e54c1bf...f510c06](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   


-- 
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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] xwm1992 commented on pull request #388: [ISSUE #366 ] remove custom-format topic concept

Posted by GitBox <gi...@apache.org>.
xwm1992 commented on pull request #388:
URL: https://github.com/apache/incubator-eventmesh/pull/388#issuecomment-862131652


   2021-06-16 15:35:39,822 ERROR [eventMesh-tcp-io-3] Codec(Codec.java:146) - decode|length=134|headerLength=59|bodyLength=67|header=Header{cmd=SUBSCRIBE_REQUEST, code=0, msg='null', seq='4572723850'}|body=null.
   2021-06-16 15:35:39,823 ERROR [eventMesh-tcp-worker-3] EventMeshTcpExceptionHandler(EventMeshTcpExceptionHandler.java:43) - exceptionCaught, push goodbye to client|user=UserAgent{env='null'subsystem='5017', dcn='FT0', path='/data/app/umg_proxy', pid=42893, host='127.0.0.1', port=54407, version='2.0.11', idc='FT', purpose='sub', unack='0'},errMsg=io.netty.handler.codec.DecoderException: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.apache.eventmesh.common.protocol.SubscriptionItem` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
    at [Source: (String)"{"topicList":[{"topic":"FT0-e-80010000-01-1","mode":"CLUSTERING"}]}"; line: 1, column: 16] (through reference chain: org.apache.eventmesh.common.protocol.tcp.Subscription["topicList"]->java.util.ArrayList[0])
   2021-06-16 15:35:40,637 INFO  [eventMesh-tcp-scheduler-2] appMonitor(EventMeshTcpMonitor.java:142) - {"protocol":"tcp","s":"retryQueueSize","t":"0"}
   2021-06-16 15:35:40,827 DEBUG [eventMesh-tcp-io-3] Codec(Codec.java:77) - headerJson={"code":1,"msg":"io.netty.handler.codec.DecoderException: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.apache.eventmesh.common.protocol.SubscriptionItem` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)\n at [Source: (String)\"{\"topicList\":[{\"topic\":\"FT0-e-80010000-01-1\",\"mode\":\"CLUSTERING\"}]}\"; line: 1, column: 16] (through reference chain: org.apache.eventmesh.common.protocol.tcp.Subscription[\"topicList\"]->java.util.ArrayList[0])","command":"SERVER_GOODBYE_REQUEST"}|bodyJson=null
   2021-06-16 15:35:40,829 INFO  [eventMesh-tcp-worker-3] message(Utils.java:111) - pkg|eventMesh2c|cmd=SERVER_GOODBYE_REQUEST|pkg=Package{header=Header{cmd=SERVER_GOODBYE_REQUEST, code=1, msg='io.netty.handler.codec.DecoderException: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.apache.eventmesh.common.protocol.SubscriptionItem` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
   
   When I use tcp mode got exception with **subscribe request** , please take a look @iNanos .


-- 
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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] codecov-commenter edited a comment on pull request #388: [ISSUE #366 ] remove custom-format topic concept

Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #388:
URL: https://github.com/apache/incubator-eventmesh/pull/388#issuecomment-861280635


   # [Codecov](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#388](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (c67557c) into [develop](https://codecov.io/gh/apache/incubator-eventmesh/commit/e54c1bfbb7c88b5a92d9b8de5eeead23c2af0321?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (e54c1bf) will **decrease** coverage by `0.00%`.
   > The diff coverage is `0.00%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/graphs/tree.svg?width=650&height=150&src=pr&token=IfkrgV55GT&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   
   ```diff
   @@             Coverage Diff              @@
   ##             develop    #388      +/-   ##
   ============================================
   - Coverage       2.86%   2.86%   -0.01%     
     Complexity        90      90              
   ============================================
     Files            224     224              
     Lines          11036   11043       +7     
     Branches         936     932       -4     
   ============================================
     Hits             316     316              
   - Misses         10675   10682       +7     
     Partials          45      45              
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
   |---|---|---|
   | [...he/eventmesh/common/protocol/SubscriptionItem.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZXZlbnRtZXNoL2NvbW1vbi9wcm90b2NvbC9TdWJzY3JpcHRpb25JdGVtLmphdmE=) | `0.00% <0.00%> (ø)` | |
   | [...he/eventmesh/common/protocol/SubscriptionMode.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZXZlbnRtZXNoL2NvbW1vbi9wcm90b2NvbC9TdWJzY3JpcHRpb25Nb2RlLmphdmE=) | `0.00% <0.00%> (ø)` | |
   | [...rotocol/http/body/client/HeartbeatRequestBody.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZXZlbnRtZXNoL2NvbW1vbi9wcm90b2NvbC9odHRwL2JvZHkvY2xpZW50L0hlYXJ0YmVhdFJlcXVlc3RCb2R5LmphdmE=) | `0.00% <ø> (ø)` | |
   | [...mmon/protocol/http/body/client/RegRequestBody.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZXZlbnRtZXNoL2NvbW1vbi9wcm90b2NvbC9odHRwL2JvZHkvY2xpZW50L1JlZ1JlcXVlc3RCb2R5LmphdmE=) | `0.00% <0.00%> (ø)` | |
   | [...rotocol/http/body/client/SubscribeRequestBody.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZXZlbnRtZXNoL2NvbW1vbi9wcm90b2NvbC9odHRwL2JvZHkvY2xpZW50L1N1YnNjcmliZVJlcXVlc3RCb2R5LmphdmE=) | `0.00% <0.00%> (ø)` | |
   | [...he/eventmesh/common/protocol/tcp/Subscription.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLWNvbW1vbi9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvZXZlbnRtZXNoL2NvbW1vbi9wcm90b2NvbC90Y3AvU3Vic2NyaXB0aW9uLmphdmE=) | `0.00% <0.00%> (ø)` | |
   | [...he/eventmesh/runtime/boot/EventMeshHTTPServer.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLXJ1bnRpbWUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2V2ZW50bWVzaC9ydW50aW1lL2Jvb3QvRXZlbnRNZXNoSFRUUFNlcnZlci5qYXZh) | `0.00% <0.00%> (ø)` | |
   | [...apache/eventmesh/runtime/boot/EventMeshServer.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLXJ1bnRpbWUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2V2ZW50bWVzaC9ydW50aW1lL2Jvb3QvRXZlbnRNZXNoU2VydmVyLmphdmE=) | `0.00% <ø> (ø)` | |
   | [...ventmesh/runtime/constants/EventMeshConstants.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLXJ1bnRpbWUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2V2ZW50bWVzaC9ydW50aW1lL2NvbnN0YW50cy9FdmVudE1lc2hDb25zdGFudHMuamF2YQ==) | `0.00% <ø> (ø)` | |
   | [...ime/core/consumergroup/ConsumerGroupTopicConf.java](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZXZlbnRtZXNoLXJ1bnRpbWUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2V2ZW50bWVzaC9ydW50aW1lL2NvcmUvY29uc3VtZXJncm91cC9Db25zdW1lckdyb3VwVG9waWNDb25mLmphdmE=) | `0.00% <0.00%> (ø)` | |
   | ... and [23 more](https://codecov.io/gh/apache/incubator-eventmesh/pull/388/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [e54c1bf...c67557c](https://codecov.io/gh/apache/incubator-eventmesh/pull/388?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   


-- 
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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] xwm1992 commented on a change in pull request #388: [ISSUE #366 ] remove custom-format topic concept

Posted by GitBox <gi...@apache.org>.
xwm1992 commented on a change in pull request #388:
URL: https://github.com/apache/incubator-eventmesh/pull/388#discussion_r652424697



##########
File path: eventmesh-sdk-java/src/main/java/org/apache/eventmesh/client/http/consumer/LiteConsumer.java
##########
@@ -234,7 +237,13 @@ public void run() {
     }
 
     public boolean unsubscribe(List<String> topicList, String url) throws Exception {
-        subscription.removeAll(topicList);
+        Set<String> unSub = new HashSet<>(topicList);
+        for (SubscriptionItem item:subscription) {
+            if (unSub.contains(item.getTopic())) {
+                subscription.remove(item);

Review comment:
       Here, may cause ConcurrentModification Exception, use iterator may be better, please take a look




-- 
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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org