|
|
@@ -1,7 +1,10 @@
|
|
|
package sarama
|
|
|
|
|
|
// RequiredAcks is used in Produce Requests to tell the broker how many replica acknowledgements
|
|
|
-// it must see before responding. Any positive int16 value is valid, or the constants defined here.
|
|
|
+// it must see before responding. Any of the constants defined here are valid. On broker versions
|
|
|
+// prior to 0.8.2.0 any other positive int16 is also valid (the broker will wait for that many
|
|
|
+// acknowledgements) but in 0.8.2.0 and later this will raise an exception (it has been replaced
|
|
|
+// by setting the `min.isr` value in the brokers configuration).
|
|
|
type RequiredAcks int16
|
|
|
|
|
|
const (
|