Explorar el Código

Merge pull request #652 from Shopify/doc-retention-version-requirement

Doc that Offset.Retention requires kafka 0.9
Evan Huus hace 10 años
padre
commit
49e7bb5fa4
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      config.go

+ 2 - 1
config.go

@@ -197,7 +197,8 @@ type Config struct {
 			// The retention duration for committed offsets. If zero, disabled
 			// (in which case the `offsets.retention.minutes` option on the
 			// broker will be used).  Kafka only supports precision up to
-			// milliseconds; nanoseconds will be truncated.
+			// milliseconds; nanoseconds will be truncated. Requires Kafka
+			// broker version 0.9.0 or later.
 			// (default is 0: disabled).
 			Retention time.Duration
 		}