You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Chris Riccomini (JIRA)" <ji...@apache.org> on 2014/04/11 23:34:14 UTC

[jira] [Commented] (SAMZA-235) Add internal input stream for hello-samza

    [ https://issues.apache.org/jira/browse/SAMZA-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967127#comment-13967127 ] 

Chris Riccomini commented on SAMZA-235:
---------------------------------------

+1 on this idea.

I like the thought of just recording some Wikipedia data, and using a FileSystem consumer to process it.

One worry that I have is having people conflate the idea of processing file data with batch processing. The goal of the hello-samza project is to show how to process realtime data. Going with a file-based approach is that not everyone will get that it's just an example, and most streams have no end.

> Add internal input stream for hello-samza
> -----------------------------------------
>
>                 Key: SAMZA-235
>                 URL: https://issues.apache.org/jira/browse/SAMZA-235
>             Project: Samza
>          Issue Type: Improvement
>          Components: hello-samza
>            Reporter: Yan Fang
>
> As reported by Sonali and Yan Fang, some corporations blocks IRC service/port. So they will not be able to run the hello-samza successfully. http://mail-archives.apache.org/mod_mbox/samza-dev/201403.mbox/%3CB84B01583BEBBC45AD442B3F9045B8AC0ED46F80@048-CH1MPN3-331.048d.mgd.msft.net%3E
> As suggested by [~jghoman] and [~criccomini] , we should add internal input stream for hello-samza as an alternative. There are two ways:
> 1. use simulate/fake data. 
> 2. use local environment related data.
> I lean to the first approach. We can simulate wikimedia data (though it is a little boring). Because it can reuse the WikipediaParserStreamTask and WikipediaStatsStreamTask. Another reason is, since we use simulate data, the output is very predictable, that will help bring hello-samza to integration test stated in SAMZA-205 .
> In addition, if we use FS reader in SAMZA-138 , that will also be a good example for writing SystemFactory (besides the out-of-box KafkaSystemFactory).



--
This message was sent by Atlassian JIRA
(v6.2#6252)