Invalid character found for config key: 'SCRAM-SHA-256解决办法
kafka-configs.bat添加授权时报错:
Invalid character found for config key: 'SCRAM-SHA-256
解决办法:去掉--add-config后面的单引号即可;
完整命令如下:
.\bin\windows\kafka-configs.bat --zookeeper localhost:2181/kafka --alter --add-config SCRAM-SHA-256=[password=admin1234] --entity-type users --entity-name admin
参考链接:
https://github.com/confluentinc/confluent-kafka-dotnet/issues/741