Categorygithub.com/AdrianeRibeiro/CodePix
modulepackage
0.0.0-20220429105653-36690f13c9fd
Repository: https://github.com/adrianeribeiro/codepix.git
Documentation: pkg.go.dev

# README

protoc --go_out=application/grpc/pb --go_opt=paths=source_relative --go-grpc_out=application/grpc/pb --go-grpc_opt=paths=source_relative --proto_path=application/grpc/protofiles application/grpc/protofiles/*.proto

subir a aplicação

sudo docker-compose up

abrir o terminal do docker

sudo docker-compose exec app /bin/bash

instalar/atualizar pacotes

go mod tidy

rodar main

go run cmd/main.go -> sobe e cria as tabelas

bash do docker -> evans -r repl -> call RegisterPixKey

kafka-topics --list --bootstrap-server=localhost:9092

terminal do kafka [appuser@e37ac8230722 ~]$ kafka-console-consumer --topic=teste --bootstrap-server=localhost:9092

terminal da aplicação root@f8a20ee43244:/go/src# go run main.go kafka go run main.go all

# Packages

No description provided by the author
Copyright © 2022 NAME HERE <EMAIL ADDRESS> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
No description provided by the author
No description provided by the author