kafka producer

This commit is contained in:
machengyuan4081
2018-06-11 23:19:28 +08:00
parent 31f72e1aac
commit b306bde3ec
9 changed files with 305 additions and 105 deletions

View File

@@ -1,12 +1,12 @@
servers: localhost:6667
servers: slave1.test.apitops.com:6667,slave2.test.apitops.com:6667,slave3.test.apitops.com:6667
retries: 0
batchSize: 16384
lingerMs: 1
bufferMemory: 33554432
topics:
- topic: exampe
- topic: example2
partition:
destination: example
destination: example2