kafka使用sasl验证
Before this, make sure you’re logged in to heroku CLI. If not, you may login by running heroku login.
Now use the heroku config
command to view your app’s config variables.The output of the command would be something like this:
在此之前,请确保您已登录到heroku CLI。 如果没有,您可以通过运行heroku login.
现在使用heroku config
命令查看应用程序的配置变量,该命令的输出如下所示:
mongodb://aaaaaa:bbbbbb@ds029017.mLab.com:29017/heroku_12345678
Now to get user information from this URI, map this string to the following one:
现在,要从此URI获取用户信息,请将此字符串映射到以下字符串:
mongodb://dbuser:dbpass@host:port/dbname
This way, you can get your information from URI.Thanks for your time.
这样,您可以从URI中