You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/07/25 05:55:56 UTC

[GitHub] [servicecomb-pack] coolbeevip commented on a change in pull request #511: SCB-1374 support fsm redis channel

coolbeevip commented on a change in pull request #511: SCB-1374 support fsm redis channel
URL: https://github.com/apache/servicecomb-pack/pull/511#discussion_r307125743
 
 

 ##########
 File path: alpha/alpha-fsm/src/main/java/org/apache/servicecomb/pack/alpha/fsm/channel/RedisActorEventChannel.java
 ##########
 @@ -31,13 +33,17 @@
 public class RedisActorEventChannel extends AbstractActorEventChannel {
   private static final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
 
+  private RedisMessagePublisher redisMessagePublisher;
+
   public RedisActorEventChannel(
-      ActorEventSink actorEventSink, MetricsService metricsService) {
+      ActorEventSink actorEventSink, MetricsService metricsService, RedisMessagePublisher redisMessagePublisher) {
     super(actorEventSink, metricsService);
+    this.redisMessagePublisher = redisMessagePublisher;
   }
 
   @Override
   public void sendTo(BaseEvent event){
-    throw new UnsupportedOperationException("Doesn't implement yet!");
+    LOG.info("sendTo message = [{}]",event);
 
 Review comment:
   I suggest using LOG.debug

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


With regards,
Apache Git Services