Skip to content

Instantly share code, notes, and snippets.

View configbug's full-sized avatar
🏠
Working from home

Daniel Huamán configbug

🏠
Working from home
View GitHub Profile
@rmoff
rmoff / docker-compose.yml
Last active April 29, 2024 12:40
Docker-Compose for Kafka and Zookeeper with internal and external listeners
---
version: '2'
services:
zookeeper:
image: confluentinc/cp-zookeeper:latest
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
kafka:
@bliaxiong
bliaxiong / mysql_sqlx.go
Created December 31, 2014 06:25
Go mysql sqlx example
package main
import (
_ "github.com/go-sql-driver/mysql"
"github.com/jmoiron/sqlx"
"log"
)
type User struct {
Id int