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

Abdullah Alamoudi commented on ASTERIXDB-1461:
----------------------------------------------

If you want to use the client, you need to create an instance of 
/Users/abdullahalamoudi/Documents/dev/branches/gm/asterixdb/asterixdb/asterix-common/src/test/java/org/apache/asterix/test/client/FileFeedSocketAdapterClient.java

pass the argument in the statement and call the start() method. It will stop in 
one of the following cases:
1. the file is read completely
2. the upper bound is reached (500 in this case).
3. the stop() method is called.

Hope that helps,
Abdullah.

> Feed push socket start client query is not working
> --------------------------------------------------
>
>                 Key: ASTERIXDB-1461
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1461
>             Project: Apache AsterixDB
>          Issue Type: Test
>          Components: Feeds
>            Reporter: Xi Zhang
>            Assignee: Abdullah Alamoudi
>
> I want to set up a socket feed. It seems that the query 
> "start client 10001 file-client localhost 
> ../asterix-app/data/twitter/tw_messages.adm 500 50 1000" is not working. 
> The error is: 
> "Error: Encountered " <IDENTIFIER> "start "" at line 1, column 1.
> Was expecting one of: ..."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to