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中获取信息。

翻译自: https://medium.com/@wajeeh.ahsan/mlab-mongodb-getting-your-connection-uri-db-username-password-277e54cb29ac

kafka使用sasl验证

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐