config: temporarily comment out new API for v1.3.3 release
v1.3.3 will be released with minor behavior changes and a bugfix;
v1.4 will be reserved for a few API additions.
@@ -793,6 +793,8 @@ func WithHooks(hooks ...Hook) Opt {
return clientOpt{func(cfg *cfg) { cfg.hooks = append(cfg.hooks, hooks...) }}
}
+/* TODO: commenting out for a v1.3.3 release
+
// ConcurrentTransactionBackoff sets the backoff interval to use during
// transactional requests in case we encounter CONCURRENT_TRANSACTIONS error,
// overriding the default 20ms.
@@ -806,6 +808,8 @@ func ConcurrentTransactionBackoff(backoff time.Duration) Opt {
return clientOpt{func(cfg *cfg) { cfg.txnBackoff = backoff }}
}
+*/
+
////////////////////////////
// PRODUCER CONFIGURATION //
////////////////////////////
@@ -862,6 +866,8 @@ func DisableIdempotentWrite() ProducerOpt {
return producerOpt{func(cfg *cfg) { cfg.disableIdempotency = true }}
}
+/* TODO: commenting out for a v1.3.3 release
+
// MaxProduceRequestsInflightPerBroker changes the number of allowed produce
// requests in flight per broker if you disable idempotency, overriding the
// default of 1. If using idempotency, this option has no effect: the maximum
@@ -873,6 +879,8 @@ func MaxProduceRequestsInflightPerBroker(n int) ProducerOpt {
return producerOpt{func(cfg *cfg) { cfg.maxProduceInflight = n }}
}
+*/
+
// ProducerBatchCompression sets the compression codec to use for producing
// records.
//
