./tool.rb new [文章名]
./tool.rb publish
欢迎吐槽我的博客
A pure ruby client for Apache Pulsar
License: Apache License 2.0
./tool.rb new [文章名]
./tool.rb publish
欢迎吐槽我的博客
after bundle install the gem in irb to require the gem will raise error:
wyatt@mbp:Programer/github $ irb
irb(main):001:0> require 'pulsar_sdk'
Traceback (most recent call last):
16: from /Users/wyatt/.rbenv/versions/2.7.0/bin/irb:23:in `load'
15: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/irb-1.2.1/exe/irb:11:in `<top (required)>'
14: from (irb):1
13: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:156:in `require'
12: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:168:in `rescue in require'
11: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:168:in `require'
10: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/pulsar_sdk-0.8.5/lib/pulsar_sdk.rb:4:in `<top (required)>'
9: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
8: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
7: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/pulsar_sdk-0.8.5/lib/protobuf/validate.rb:1:in `<top (required)>'
6: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
5: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
4: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/google-protobuf-3.11.4-universal-darwin/lib/google/protobuf.rb:48:in `<top (required)>'
3: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/google-protobuf-3.11.4-universal-darwin/lib/google/protobuf.rb:51:in `rescue in <top (required)>'
2: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
1: from /Users/wyatt/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
LoadError (cannot load such file -- google/protobuf_c)
irb(main):002:0>
it`s relate to protocolbuffers/protobuf#5161
if use gem install google-protobuf --platform=ruby
will be ok.
use gem uninstall
to check the gem
gem uninstall google-protobuf
Select gem to uninstall:
1. google-protobuf-3.11.4 # this one is correct
2. google-protobuf-3.11.4-universal-darwin # this one can`t working
3. All versions
may be we should comment it on readme.
Hi, I found that a new partition is created when I send a message to partitioned-topic.
For example, when a partitioned topic have only one partition as following:
"persistent://mytenant/myns/mytopic-partition-0"
Sending message causes a new partition creation.
"persistent://mytenant/myns/mytopic-partition-0"
"persistent://mytenant/myns/mytopic-partition-1"
I think that the range wrongly include upper limit in the following line.
Hi!
It looks like there was not a lot of activity in this repository for the last years.
Is this project still active? If no, can you recommend another ruby pulsar client?
Add message tracking to producer may help.
When namespace not created, partitioned command will return MetadataError: Policies not found for rental_car/orders1 namespace
.
Expected a friendly error prompt or just show warning and skip action.
你好, 我在寻找 pulsar 的 ruby sdk 的 gem 寻找到这里, 已经看到这个 gem 在 github 上发布了 4 个版本, 现在最新的是 0.7.2, 但是在 rubygems.org 上并没有此 gem, 是否考虑将当前 gem 发布到 rubygems.org 上呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.