chore: migrate to Go modules

This commit is contained in:
fengzhiqiang
2026-07-10 14:17:07 +08:00
parent ecfba6e209
commit 7c49f6d2c6
530 changed files with 247968 additions and 205 deletions
+24
View File
@@ -0,0 +1,24 @@
version: "3"
services:
kafka:
image: wurstmeister/kafka:0.11.0.1
restart: on-failure:3
links:
- zookeeper
ports:
- "9092:9092"
environment:
KAFKA_VERSION: '0.11.0.1'
KAFKA_BROKER_ID: 1
KAFKA_CREATE_TOPICS: 'test-writer-0:3:1,test-writer-1:3:1'
KAFKA_DELETE_TOPIC_ENABLE: 'true'
KAFKA_ADVERTISED_HOST_NAME: 'localhost'
KAFKA_ADVERTISED_PORT: '9092'
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181'
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
KAFKA_MESSAGE_MAX_BYTES: 200000000
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"