Selaa lähdekoodia

tools/kafka-producer-performance: prune unused flag variables retryMax and retryBackoff

Lars Lehtonen 5 vuotta sitten
vanhempi
commit
62076b9348
1 muutettua tiedostoa jossa 0 lisäystä ja 10 poistoa
  1. 0 10
      tools/kafka-producer-performance/main.go

+ 0 - 10
tools/kafka-producer-performance/main.go

@@ -130,16 +130,6 @@ var (
 		0,
 		"The maximum number of messages the producer will send in a single request.",
 	)
-	retryMax = flag.Int(
-		"retry-max",
-		3,
-		"The total number of times to retry sending a message.",
-	)
-	retryBackoff = flag.Duration(
-		"retry-backoff",
-		100*time.Millisecond,
-		"The duration the producer will wait for the cluster to settle between retries.",
-	)
 	clientID = flag.String(
 		"client-id",
 		"sarama",