[
https://issues.apache.org/jira/browse/BAHIR-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15692262#comment-15692262
]
ASF GitHub Bot commented on BAHIR-73:
-------------------------------------
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.
> [bahir-flink] flink-streaming-akka source connector
> ---------------------------------------------------
>
> Key: BAHIR-73
> URL: https://issues.apache.org/jira/browse/BAHIR-73
> Project: Bahir
> Issue Type: New Feature
> Components: Flink Streaming Connectors
> Reporter: Subhobrata Dey
> Fix For: Flink-0.1
>
>
> Hello,
> This issue is created to propose the idea of having a flink-streaming-akka
> source connector.
> The source connector can be used to receive messages from an Akka feeder or
> publisher actor & these messages can then be processed using flink streaming.
> The source connector has the following features.
> 1. It can supports several different message formats like iterable data,
> bytes array & data with timestamp.
> 2. It can send back acknowledgements to the feeder actor.
> Thanks & regards,
> Subhobrata
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)