The Pravega Ingest Gateway is a simple HTTP server that can be used to write JSON events to a Pravega stream.
-
Copy the file
scripts/env-sample.sh
toscripts/env-local.sh
. This script will contain parameters for your environment. -
You can enable TLS (HTTPS) with a private Certificate Authority with these steps. This method is intended only for development and testing environments.
cd ssl ./create-dev-all.sh ./load-secrets.sh
-
Copy the sample values file from
values/samples/pravega-ingest-gateway.yaml
tovalues/local/pravega-ingest-gateway.yaml
or any other destination. You may name this file anything, but you must use alphanumeric characters and dashes only. -
Edit this file to use your Pravega stream name and HTTP server FQDN.
-
Deploy the Pravega Ingest Gateway using Helm.
scripts/deploy.sh values/local/pravega-ingest-gateway.yaml
-
Send a test event.
scripts/send-test-event.sh
scripts/build.sh
scripts/deploy-docker.sh
export PRAVEGA_CONTROLLER=tcp://localhost:9090
../gradlew run
scripts/send-test-event.sh