Coder Social home page Coder Social logo

jeffotoni / gokafka.poc Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 22.96 MB

kafka presentation using Go, in a poc presented in a live

License: MIT License

Go 50.85% Makefile 4.33% HTML 6.35% JavaScript 29.33% Dockerfile 1.58% Shell 2.66% HCL 4.89%
go golang golang-library go-examples

gokafka.poc's Introduction

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}'

gokafka.poc's People

Contributors

guilherme-s3wf avatar jeffotoni avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.