Skip to content

Commit

Permalink
[ISSUE #4141] Fix the GRPC subscribe error (#4143)
Browse files Browse the repository at this point in the history
Co-authored-by: yiqf <yiqf>
  • Loading branch information
1404369980 authored Jun 25, 2023
1 parent 8843df2 commit e4ec6fd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ public void shutdown() throws Exception {
}

public EventMeshConsumer getEventMeshConsumer(final String consumerGroup) {
return consumerTable.computeIfAbsent(consumerGroup, key ->
consumerTable.put(consumerGroup, new EventMeshConsumer(eventMeshGrpcServer, consumerGroup)));
return consumerTable.computeIfAbsent(consumerGroup, key -> new EventMeshConsumer(eventMeshGrpcServer, consumerGroup));
}

public synchronized void registerClient(final ConsumerGroupClient newClient) {
Expand Down

0 comments on commit e4ec6fd

Please sign in to comment.