slowpao commented on code in PR #3322:
URL:
https://github.com/apache/incubator-eventmesh/pull/3322#discussion_r1123286356
##########
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/tcp/client/task/SubscribeTask.java:
##########
@@ -59,10 +61,19 @@ public void run() {
final List<SubscriptionItem> subscriptionItems = new ArrayList<>();
final boolean eventMeshServerSecurityEnable =
eventMeshTCPServer.getEventMeshTCPConfiguration().isEventMeshServerSecurityEnable();
final String remoteAddr =
RemotingHelper.parseChannelRemoteAddr(ctx.channel());
+
+ String group = session.getClient().getGroup();
+ String token = session.getClient().getToken();
+ String subsystem = session.getClient().getSubsystem();
+
+ EventMeshAppSubTopicInfo eventMeshAppSubTopicInfo =
eventMeshTCPServer.getRegistry().findEventMeshAppSubTopicInfo(group);
subscriptionInfo.getTopicList().forEach(item -> {
- //do acl check for receive msg
if (eventMeshServerSecurityEnable) {
Review Comment:
OK, I will fix it next time I submit
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]