gokafka.poc

command module
v0.0.0-...-cc0aded Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2021 License: MIT Imports: 7 Imported by: 0

README

gokafka.poc

A repository where you have an excellent example of a game made with a Game made in Go using Webassembly, communicating with kafka and everything running in GKE.

We have the game compiled for webassembly, we have the Apis in Go exposing to be consumed by the game and communicating with pkg kafka and some examples of kafka using docker examples using confluent, kafka bitnami and kafka fast where I did a summer clean to test the location using docker.


logo


ping server
$ curl -i -XPOST localhost:8181/ping
Create Topic
$ curl -i -XPOST -H "Content-type:application/json" \
localhost:8181/topic \
-d '{"name":"mytopic8", "partition":3, "replication_factor":1}'
List all topic
$ curl -i -XGET -H "Content-type:application/json" \
localhost:8181/topic
Delete topic
$ curl -i -XDELETE -H "Content-type:application/json" \
localhost:8181/topic/mytopic8
Producer
$ curl -i -XPOST -H "X-Key-User:12121212121" \
-H "Content-type:application/json" localhost:8181/producer \
-d '{"key":"x100001", "name":"jefferson otoni","score":3000}'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
controller
game.blocks
@jeffotoni
webassembly/server
@jeffotoni
@jeffotoni
pkg
service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL