weisd

Results 7 issues of weisd

how to add sub-route useing parent modules

I run Kafka in Docker use images: wurstmeister/kafka:0.9.0.1 docker-compose.yml looks like: ``` ### zookeeper ######################################### zookeeper: image: wurstmeister/zookeeper ports: - "2181:2181" networks: - backend ### kafka ######################################### kafka: image: wurstmeister/kafka:0.9.0.1...

目前Register的时候instance信息是固定的,是不是可以加个函数参数,方便heartBeat的时候更新一些metadata

question

我看go-nsq代码发现有 PublishOrdered方法, 但没找到例子。partitionKey 这个参数应该传什么值呢? ``` PublishOrdered(topic string, partitionKey []byte, body []byte) ```

discussion

5种方式 - JSAPI-公众号 统一下单:https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_1 调起支付:https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=7_7&index=6 - JSAPI-小程序 统一下单:https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=9_1 调起支付:https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=7_7&index=5 - APP 统一下单:https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=9_1 调起支付:https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=9_12&index=2 - NATIVE 扫码支付 统一下单:https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_1 调起支付:统一下单返回二维码地址链接:code_url - MWEB 手机H5 统一下单:https://pay.weixin.qq.com/wiki/doc/api/H5.php?chapter=9_20&index=1 调起支付:统一下单返回支付跳转地址链接:mweb_url 注意: JSAPI 时,openid必传 NATIVE 时,product_id必传 spbill_create_ip APP/MWEB/JSAPI...

https://github.com/Terry-Mao/goim/blob/a8942503cb368d1e131a1fd4e8ea68c5beb63260/examples/javascript/client.js#L68 for 里的packetLen值一值是外层变量的值,所以合并消息接收时只取到一个消息,重新定义一个新变量后,问题解决 ``` let ipacketLen = 0 // batch message for (let offset = rawHeaderLen; offset < data.byteLength; offset += ipacketLen) { // parse ipacketLen = dataView.getInt32(offset) let headerLen...