pprovenzano commented on PR #13374: URL: https://github.com/apache/kafka/pull/13374#issuecomment-1601140928
The code is correct and the example should be updated to 'name=' . Sorry for the error in the documentation. --Proven On Wed, Jun 21, 2023 at 4:38 AM Mike Lothian ***@***.***> wrote: > The examples say: > > --add-scram ADD_SCRAM, -S ADD_SCRAM > A SCRAM_CREDENTIAL to add to the __cluster_metadata log e.g. > 'SCRAM-SHA-256=[user=alice,password=alice-secret]' > 'SCRAM-SHA-512=[user=alice,iterations=8192,salt="N3E=",saltedpassword="YCE="]' > > But the code errors unless name= is passed, should user be name in the > example or is the check wrong > https://github.com/apache/kafka/blame/49c1697ab08189c9707d04a6078aa9d5b69ed3aa/core/src/main/scala/kafka/tools/StorageTool.scala#L174 > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/kafka/pull/13374#issuecomment-1600428887>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/AWLBAKMTUW3O2SP3OXNSM5LXMKXJNANCNFSM6AAAAAAVV44ZAE> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> > -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org