Mosquitto auth plugin in Go

blov · · 602 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi, guys. I&#39;m reaching out to the community to get some help on real world testing a mosquitto (a common open source MQTT broker) auth plugin I wrote some time ago. Sadly, I&#39;m kind of overwhelmed with work at this time, so I haven&#39;t been able to test some use cases that don&#39;t arise on my daily MQTT uses.</p> <p>This post is motivated by the fact that a couple of days ago a user of the plugin wrote me an email to get some help with a couple of issues, which resulted to be some silly but important bugs with Mysql connection that I hadn&#39;t noticed because I don&#39;t use Mysql as a regular backend for my authentication/authorization needs and my tests didn&#39;t cover. Thus, I&#39;m asking for anyone that uses mosquitto and is willing to spend a few hours giving the plugin a try (sorry for the enormous README) to do so and report any issue you may encounter. Of course, I hope anyone willing also finds it useful and ends up using it as his/hers auth method for mosquitto.</p> <p>Of course, any reviews (yes, I know I have to refactor exported functions, but you may mention it anyway), advices, requests for new backends, etc., are very welcome and appreciated.</p> <p>You can fin the plugin here: <a href="https://github.com/iegomez/mosquitto-go-auth" rel="nofollow">https://github.com/iegomez/mosquitto-go-auth</a></p> <p>Cheers!</p> <hr/>**评论:**<br/><br/>yorbit: <pre><p>Looks interesting, but I always use Postgres as my RMDBS, which you&#39;ve already thoroughly tested. Sorry!</p> <p>I would comment though that I wish the open source brokers (Mosquitto, EMQTT, Verne) were a bit more friendly for configuring a multi-tennant environment where you don&#39;t have control over the clients (eg API for throttling, callbacks, topic restrictions etc, rather than having to reload the broker &amp; change config files).</p></pre>iegomez: <pre><p>No problem. If you ever try it with Postgres, let me know of any issue.</p> <p>I agree, and have thought of giving it a shot at writing a broker, specially because the ones I&#39;ve seen in Go aren&#39;t quite complete. But it is of course a lot harder and bigger than a simple plugin, which in turn means it is very time consuming. Maybe some day.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

602 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传