You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

  1. Acquire Protobuf libraries for the target language of choice.
  2. Download the latest release of Geode and start a Geode server with the following gfsh commands:

    start server
    start server --name=server --server-port=40404 --bind-address=localhost
    create region --name=SampleData --type=REPLICATE
  3. Locate Protobuf message definition artifact from the downloaded Geode release in directory  ---> add directory here.
  4. Using the Protobuf library, generate the language bindings from the message definitions downloaded in the previous step.

  5. In the target language, connect a TCP socket to the server on the local host and on port 40404.
  6. Write byte 110 to the socket.
  7. Write the handshake message to the socket.
  8. Read the handshake response from the socket.
  9. Write the put message to the socket.
  10. Read the put response from the socket.

 

  • No labels