Skip to content

Apache Pulsar is an open-source distributed pub-sub messaging system.

Notifications You must be signed in to change notification settings

haritkumar/apache-pulsar-cloud

Repository files navigation

Apache Pulsar

Apache Pulsar 2.4.0

Apache Pulsar is an open-source distributed pub-sub messaging system originally created at Yahoo and now part of the Apache Software Foundation. Developer Guide https://dzone.com/articles/a-developers-introduction-to-the-pulsar-streaming

Run apache pulsar (standalone)

docker run -p 6650:6650 -p 8080:8080 haritkumar/apache-pulsar:2.4.0

Run apache pulsar-express (UI Manager) http://localhost:3000

docker run -p 3000:3000 haritkumar/pulsar-express:latest

express

Run apache pulsar-client (Producer/Consumer)

docker run -p 9000:9000 haritkumar/pulsar-client:latest

Use docker compose to run all nodes at once

docker-compose up

Pulsar admin APIs

http://localhost:8080/admin/v2/persistent/public/default/test-topic/stats

Call producer api & check console

http://localhost:9000/test-pulsar?content=hello%20pulsor

console output

Test Bulk Load

sh bulk-producer.sh 10000

Get docker container's IP

docker ps
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_id

About

Apache Pulsar is an open-source distributed pub-sub messaging system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published