segmentio / kafka-go

Kafka library in Go
MIT License
7.3k stars 760 forks source link

AllowAutoTopicCreation does not exist in writer config, but only in the writer struct #1278

Open yogeshg opened 2 months ago

yogeshg commented 2 months ago

AllowAutoTopicCreation to be introduced to writer config, and passed through to the writer itself.

Supporting documentation

// AllowAutoTopicCreation notifies writer to create topic if missing.
    AllowAutoTopicCreation [bool](https://pkg.go.dev/builtin#bool)
yogeshg commented 2 months ago

https://github.com/segmentio/kafka-go/pull/1279 if this is desirable.