This application provides simple REST api to see messages stored in Apache Pulsar topics.
1.5K
This application provides simple REST api to see messages stored in Apache Pulsar topics. There is also simple html page to call that REST api.
REST API documentation is available openapi.yml file.
For simple start up you can use Docker image https://hub.docker.com/repository/docker/osomahe/pulsar-viewer.
Release notes can be found at releases.md.
Environment variables:
/pulsar/certs/ca.cert.pem/pulsar/certs/pulsar-source-app.cert.pem/pulsar/certs/pulsar-source-app.key-pk8.pemhttps://pulsarhostname:8443/pulsar/certs/admin.cert.pem/pulsar/certs/admin.key-pk8.pemExamples:
docker run -d --name pulsar-viewer -p 8080:8080 -e PULSAR_SERVICE_URL="pulsar://pulsarhostname:6650" osomahe/pulsar-viewer
/q/health/live/q/health/readyThis project was developed with support of companies HP Tronic and Osomahe.
Build Docker image
Start Apache Pulsar instance.
docker run -d --rm --name pulsar --net hpt -p 6650:6650 \
-v $(pwd)/development/pulsar/conf:/pulsar/conf:ro \
apachepulsar/pulsar:2.8.0 bin/pulsar standalone -nfw
Start Pulsar Source App to create some test messages.
docker run -d --rm --name source-app --net hpt -p 8082:8080 \
-e PULSAR_SERVICE_URL=pulsar://pulsar:6650 osomahe/pulsar-source-app:0.4.0
Manual build of Docker image, because Docker Hub stop allowing automated build for public projects.
docker build -t osomahe/pulsar-viewer:0.2.0 .
docker push osomahe/pulsar-viewer:0.2.0
Content type
Image
Digest
Size
247.6 MB
Last updated
almost 5 years ago
docker pull osomahe/pulsar-viewer