From 9895e8f694d9fd8638d82d46b9a3be62472e6e0c Mon Sep 17 00:00:00 2001 From: Diego Alvarez Date: Fri, 31 Jan 2020 15:03:18 -0500 Subject: [PATCH] fix misleading example for cluster admin fixes https://github.com/Shopify/sarama/issues/1238 --- admin_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin_test.go b/admin_test.go index 113f69b66..3746e29ae 100644 --- a/admin_test.go +++ b/admin_test.go @@ -615,8 +615,8 @@ func TestClusterAdminAlterConfig(t *testing.T) { var value string entries := make(map[string]*string) - value = "3" - entries["ReplicationFactor"] = &value + value = "60000" + entries["retention.ms"] = &value err = admin.AlterConfig(TopicResource, "my_topic", entries, false) if err != nil { t.Fatal(err)