File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import (
29
29
//
30
30
// // Construct a synchronous writer (the default mode).
31
31
// w := &kafka.Writer{
32
- // Addr: Addr: kafka.TCP("localhost:9092", "localhost:9093", "localhost:9094"),
32
+ // Addr: kafka.TCP("localhost:9092", "localhost:9093", "localhost:9094"),
33
33
// Topic: "topic-A",
34
34
// RequiredAcks: kafka.RequireAll,
35
35
// }
@@ -55,7 +55,7 @@ import (
55
55
// writer to receive notifications of messages being written to kafka:
56
56
//
57
57
// w := &kafka.Writer{
58
- // Addr: Addr: kafka.TCP("localhost:9092", "localhost:9093", "localhost:9094"),
58
+ // Addr: kafka.TCP("localhost:9092", "localhost:9093", "localhost:9094"),
59
59
// Topic: "topic-A",
60
60
// RequiredAcks: kafka.RequireAll,
61
61
// Async: true, // make the writer asynchronous
You can’t perform that action at this time.
0 commit comments