Github user sbcd90 commented on the issue:

    https://github.com/apache/bahir-flink/pull/8
  
    Hello @rmetzger,
    
    Thanks for the code review.
    
    I did the code refactoring to accomodate the following changes:
    
    - waitlock removed
    - configuration moved to constructor
    - the byte[] scenario removed
    
    I did some basic tests in a non-cluster mode using this.
    
    ```
    StreamExecutionEnvironment env = 
StreamExecutionEnvironment.getExecutionEnvironment();
    AkkaApp app = new AkkaApp();
    
    Config feederActorConfig = ConfigFactory.parseFile(new 
File(app.getFeederConfigFile()));
    ActorSystem feederActorSystem = ActorSystem.create("feederActorSystem", 
feederActorConfig);
    feederActorSystem.actorOf(Props.create(FeederActor.class), "feederActor");
    
    Config config = ConfigFactory.parseFile(new 
File(app.getReceiverConfigFile()));
    String feederActorUrl = 
"akka.tcp://[email protected]:5156/user/feederActor";
    
    DataStream<Object> source = env.addSource(new AkkaSource("receiverActor", 
feederActorUrl, config));
    source.print();
    
    env.execute();
    ```
    
    I would look to do a test run in cluster mode to see the throughput.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to