Host a public demo
Use --public to put the demo on a server that other persons can open.
streamview demo --publicWith --public, the demo is different in three ways:
- Visitors cannot send events, and they cannot change data on the server.
- The server keeps only the last hour of events. Its memory does not become larger with time.
- The server accepts connections from other computers.
Each visitor can make sets, colors, pins, and notes. The page keeps them in the browser of that visitor. Other visitors do not see them.
Host the demo with Docker
Section titled “Host the demo with Docker”Run the container:
docker run -p 4747:4747 ghcr.io/event-catalog/streamview demo --publicPut HTTPS before the server
Section titled “Put HTTPS before the server”streamview does not give HTTPS. Put the server behind a proxy that gives HTTPS.
Change the event rate
Section titled “Change the event rate”Add --rate with the number of orders for each second. The default is 5.
streamview demo --public --rate 2Host your real events as read-only
Section titled “Host your real events as read-only”--public works only with demo. For kafka, nats, and serve, use the separate options:
streamview kafka --brokers localhost:9092 --read-only --keep 3600 --host 0.0.0.0