You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* KafkaProducerConfig: add allow.auto.create.topics
Motivation:
* the `allow.auto.create.topics` was missing in our
`KafkaProducerConfig`
* Note: the default value for `allow.auto.create.topics` is `true` for
`KafkaProducerConfig` and `false` for `KafkaConsumerConfig` (this is
adapted from `librdkafka`)
Modifications:
* add `allow.auto.create.topics` option to `KafkaProducerConfig`
* * improve documetantation for allowAutoCreateTopics
/// Allow automatic topic creation on the broker when subscribing to or assigning non-existent topics. The broker must also be configured with auto.create.topics.enable=true for this configuration to take effect. Note: the default value (true) for the producer is different from the default value (false) for the consumer. Further, the consumer default value is different from the Java consumer (true), and this property is not supported by the Java producer. Requires broker version >= 0.11.0.0, for older broker versions only the broker configuration applies.
68
+
/// Allow automatic topic creation on the broker when subscribing to or assigning non-existent topics.
69
+
/// The broker must also be configured with auto.create.topics.enable=true for this configuration to take effect.
0 commit comments