GitXplorerGitXplorer
n

sockeye

public
48 stars
14 forks
6 issues

Commits

List of commits on branch main.
Verified
d88882f29832dd85942364ff66ded5ac5fd5a739

Merge pull request #20 from ishankhare07/add-port

nn3wscott committed 3 years ago
Unverified
96e22f37290c16659a9156f5b61022a88c482ebe

use port value when constructing NewHTTP

iishankhare07 committed 3 years ago
Verified
0ede8de9a2c75f21749b15dd22882112e8948571

Merge pull request #14 from antoineco/bump-ce-version

committed 4 years ago
Verified
f810b6fabcd733be48e331b4df81fcf2a8268ea2

Update sockeye.yaml

committed 4 years ago
Verified
a44415e2a128e9181b14acd9ef228882105de8f8

Run `go mod vendor`

aantoineco committed 4 years ago
Verified
100851a7575b2b0056c5bc18419f374775ea59df

Update cloudevents/sdk-go to v2.4.1

aantoineco committed 4 years ago

README

The README file for this repository.

Sockeye

Sockeye Logo

Websocket based CloudEvents viewer.

Usage

Visit the root of the sockeye service in a web browser. Then POST CloudEvents to the sockeye service and they will be displayed to the root page via a ws connection.

Example curl:

curl -X POST -H "Content-Type: application/json" \
  -H "ce-specversion: 1.0" \
  -H "ce-source: curl-command" \
  -H "ce-type: curl.demo" \
  -H "ce-id: 123-abc" \
  -d '{"name":"Earl"}' \
  http://localhost:8080/

See also, the CloudEvents Spec or golang SDK to get started sending CloudEvents formatted events.

Running Locally

KO_DATA_PATH=./cmd/sockeye/kodata go run cmd/sockeye/main.go

The UI source can be found in the sockeye-react repo. These might merge together when the UI is ironed out.

Running on Kubernetes

From Release v0.7.0 (experimental react.js based ui)

To install into your default namespace

kubectl apply -f https://github.com/n3wscott/sockeye/releases/download/v0.7.0/release.yaml

From Release v0.6.3

To install into your default namespace

kubectl apply -f https://github.com/n3wscott/sockeye/releases/download/v0.6.3/release.yaml

This artifact will work on the following linux architectures: amd64, arm, arm64, ppc64le, s390x

From Source

ko apply -f config/sockeye.yaml