theoneLee
theoneLee
单词发现模式和PDF 好评。。
1.1.17会有这个问题。。待会尝试重装试试。
And I had already run those install script. ``` bash go get github.com/gogo/protobuf/protoc-gen-gofast go get github.com/gogo/protobuf/proto go get github.com/gogo/protobuf/jsonpb go get github.com/gogo/protobuf/protoc-gen-gogo go get github.com/gogo/protobuf/gogoproto ``` And my $GOPATH/bin had...
更多的。我想使用go micro plugins上引用的"github.com/Shopify/sarama"的kafka包的特性的话,该怎么使用?
> Hi,broker.Subscribe会返回一个Subscriber与一个error,通常error可以忽略,Subscriber有Ack和Unsubscribe接口,如果中间件支持就直接调用即可。 > > 其它特性非broker声明的无法使用。broker只是用这些中间件收发消息的能力,并没有全盘使用它们。 可以给一个更详细的代码demo么?有可运行的demo最好了。 因为我看已有demo上的都是使用这个方式`micro.RegisterSubscriber("example.topic.pubsub.1", service.Server(), new(Sub))`,我有追进去大概看了下,但是没理清楚,譬如我调用了`bro,_ :=broker.DefaultBroker.Subscribe("example.topic.pubsub.3", Sub)`后,我该怎么把这个bro与micro.NewService的service绑定呢?另外一个就是,这个Sub是需要Handler类型的参数,与上面的micro.RegisterSubscriber所需要的参数是不一致的。我该怎么构造这个参数?
According to the error prompt, You can add this code in the ` [default. probe]` section of `Embed.toml` ``` # USB vendor ID usb_vid = "0d28" # USB product ID...