Remote Query API using Hot Rod with Java (Tech Preview)
Emailed tristan about instructions to make this feature work. Lots of design documents linked at the tracking JIRA and smaller JIRAs within the tracking JIRA.
There's no community documentation for this yet, better to handle this once the community documentation is available. Corresponding community JIRA is ISPN-3615
this commit adds detailed user documentation for the new query DSL:https://github.com/infinispan/infinispan/commit/7060fb0eeb76b7e223024246c05d82f40a816399
This chapter should also include information about all available operations in the DSL. Email sent to anistor for more information.
Divya's feedback for this content: More work needed to get the flow right in Remote Querying chapter. 1) The chapter starts with using DSL in Embedded Querying. This is not the primary use case. Chapter should primarily discuss Querying over Hot Rod and show Step-by-Step how to configure and write a Hot Rod client which performs Remote Queries. (Use of same DSL in Library mode can be discussed in a final section.) 2) >>6.2. Protobuf Marshaller The Infinispan Query DSL can be used remotely via the Hot Rod client. In order to do this, protocol buffers are used to adopt a common format for storing cache entries and marshalling them. Need more background - what is the Protobuf format? 3) Protobuf requires data to be structured. This is achieved by declaring Protocol Buffer message types in .proto files Where are the .proto files located - client or server side ? Which directory? 4) 6.3. Performing Remote Queries via the Java Hot Rod Client This section should be earlier in my view - as the primary use case is Querying over Hot Rod. 5) Add .jar Files Add the following .jar files. Add the DSL .jar to the client's classpath. <---- which Jar file ? Add the infinispan-remote-query-server.jar to the server's classpath. Add the infinispan-remote-query-client.jar to both the client and the server's classpath.
*** Bug 1037886 has been marked as a duplicate of this bug. ***
Setting Needinfo for Anistor to follow up on some of the questions above re: file locations.
Setting needinfo for mgencur.
The fix for this bug is now generally released and available here: https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.2/index.html