Skip to content

Instantly share code, notes, and snippets.

View uuhnaut69's full-sized avatar
🎯
Focusing

Tuan Nguyen uuhnaut69

🎯
Focusing
View GitHub Profile

I've been working with Apache Kafka for over 7 years. I inevitably find myself doing the same set of activities while I'm developing or working with someone else's system. Here's a set of Kafka productivity hacks for doing a few things way faster than you're probably doing them now. 🔥

Get the tools

@uuhnaut69
uuhnaut69 / Mysql-binlog-docker-compose.md
Created April 21, 2020 03:54
Mysql Binlog Docker Compose
version: "3.7"

services:
  mysql:
    container_name: mysql
    image: mysql:5.7
    command: ["mysqld", "--log-bin=mysql-bin", "--server-id=223344", "--binlog_format=row", "--expire_logs_days=1"]
    environment:
 MYSQL_ROOT_PASSWORD: root1234
@uuhnaut69
uuhnaut69 / confluent-docker-compose.md
Created April 15, 2020 09:53
Confluent docker-compose
---
version: '2'
services:
  zookeeper:
    image: confluentinc/cp-zookeeper:5.4.1
    hostname: zookeeper
    container_name: zookeeper
    ports:
      - "2181:2181"
@uuhnaut69
uuhnaut69 / Sync-postgres-Elasticsearch.md
Last active March 5, 2020 06:40
A tutorial setup ETL Postgres CDC -> Kafka Connect -> ES

postgres-cdc-kafka-connect-es-setup-guide

A tutorial setup ETL Postgres CDC -> Kafka Connect -> ES

Topology


                   +-------------+
                   |             |
                   |   Postgres  |
 | |