Btw, I tried two ways to get service proxy on a client node, the first one
worked fine, but the one with Stream Visitor failed.
1) I stream the file and put them into a cache, and then loop through the
cache entries and call Service
2) I stream the file and define a stream visitor, in which I get the
key(String) and value(a defined class) from the Map<K,V> and call the
service. The service interface is defined as String, the defined class.

Kinda interesting... Thank you for helping out!


On Tue, Aug 15, 2017 at 10:07 AM, Jessie Lin <[email protected]>
wrote:

> The class gets a service proxy and invokes the service.
> I thought service could be invoked on client as well...Looks like it's not
> designed to be used that way.
>
> If I wrap the Service in a Callable, can I call it from a client node?
> The client node would stream from a local file and call the Callable, I
> think?
> Does that sound right?
>
> Jessie
>
> On Mon, Aug 14, 2017 at 5:30 PM, vkulichenko <
> [email protected]> wrote:
>
>> What is this class used for? I'm a bit confused - service is usually
>> invoked
>> on the server, so it will obviously need all classes it works with. Am I
>> missing something?
>>
>> Can you show the whole trace?
>>
>> -Val
>>
>>
>>
>> --
>> View this message in context: http://apache-ignite-users.705
>> 18.x6.nabble.com/Streaming-test-tp14039p16189.html
>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>
>
>

Reply via email to