This is the home of examples that are bundled with the project. Contributions[2] and corrections are welcome. Please send your questions/suggestions to kochan@pivotal.io
- Overview
- How to Get GemFire and GemFire-Greenplum connector
- How to install GemFire and GemFire-Greenplum connector
- Examples
- Documentation
Pivotal Gemfire-Greenplum Connector enables users to more easily tackle use cases that require a blend of analytical and transactional processing, such as fraud detection, recommendation and IoT data collection system
Use Cases:
- Cache data reads in Gemfire
- High speed data ingestion into Greenplum DB
Please visit Pivotal Network at https://network.pivotal.io for the latest versions of this Pivotal product.
- Login to https://network.pivotal.io/
- Access GemFire product link at https://network.pivotal.io/products/pivotal-gemfire
- Download Pivotal GemFire zip and GemFire-Greenplum connector
Or you can use this [script]](README_DOWNLOAD.md) to automatically download those binaries from Pivotal Network.
- Run this command to load docker-compose.yml. This task assumes you have preinstalled docker-compose
$ docker-compose up
office-4-39:gemfire-greenplum-examples kochan$ docker-compose up
Recreating gemfiregreenplumexamples_gemfire_1 ...
Recreating gemfiregreenplumexamples_gemfire_1 ... done
Recreating gemfiregreenplumexamples_gpdb_1 ...
Recreating gemfiregreenplumexamples_gpdb_1 ... done
Attaching to gemfiregreenplumexamples_gemfire_1, gemfiregreenplumexamples_gpdb_1
...
- Verify the docker compose processes are running by following this command.
$ docker-compose ps
Name Command State Ports
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
gemfiregreenplumexamples_gemfire_1 gfsh Up 0.0.0.0:10334->10334/tcp, 0.0.0.0:1099->1099/tcp, 0.0.0.0:40404->40404/tcp, 0.0.0.0:7070->7070/tcp, 0.0.0.0:8080->8080/tcp
gemfiregreenplumexamples_gpdb_1 /bin/sh -c echo "127.0.0.1 ... Up 0.0.0.0:9022->22/tcp, 0.0.0.0:40000->40000/tcp, 0.0.0.0:40001->40001/tcp, 0.0.0.0:40002->40002/tcp, 0.0.0.0:5005->5005/tcp, 0.0.0.0:5010->5010/tcp, 0.0.0.0:5432->5432/tcp
- You can access GemFire/Geode docker by following the command below.
$ docker exec -it gemfiregreenplumexamples_gemfire_1 bin/bash
- Use another shell, in order to execute the Greenplum docker
$ docker exec -it gemfiregreenplumexamples_gpdb_1 bin/bash
You can run these examples once you have successfully executed docker-compose. For example, follow the example-Basic
- Greenplum documentation(http://gpdb.docs.pivotal.io/43120/common/welcome.html)
- GemFire - gfsh Commands (http://gemfire.docs.pivotal.io/gemfire/tools_modules/gfsh/gfsh_quick_reference.html)
- GemFire-GreenPlum connector documentation(http://ggc.docs.pivotal.io/ggc/about_ggc.html)