remove kafka topic autocreation
This commit is contained in:
parent
cf01b1e36f
commit
5baf5ed7e9
@ -16,7 +16,7 @@ func NewKafka(addr, topic string) *Kafka {
|
||||
Addr: kafka.TCP(addr),
|
||||
Topic: topic,
|
||||
Balancer: &kafka.RoundRobin{},
|
||||
AllowAutoTopicCreation: true,
|
||||
AllowAutoTopicCreation: false,
|
||||
BatchSize: 100,
|
||||
BatchTimeout: 100 * time.Millisecond,
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user