瀏覽代碼

Merge pull request #1619 from alrs/prune-tools

tools/kafka-producer-performance: prune unused flag variables
Vlad Gorodetsky 5 年之前
父節點
當前提交
d997ff3004
共有 1 個文件被更改,包括 0 次插入10 次删除
  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",