Git Product home page Git Product logo

pulsar_sdk's Introduction

静态博客

创建新的文章

./tool.rb new [文章名]

发布到GitHub

./tool.rb publish

欢迎吐槽我的博客

pulsar_sdk's People

Contributors

archfish avatar wppurking avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pulsar_sdk's Issues

google-protobuf gem can not loaded

image

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.

【BUG】【Producer】An additional partition is unintentionally created to partitioned topic.

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.

(0..pmr.partitions).map do |i|

Still maintained?

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?

Get topic partitioned metadata failed

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.

发布到 Rubygems.org

你好, 我在寻找 pulsar 的 ruby sdk 的 gem 寻找到这里, 已经看到这个 gem 在 github 上发布了 4 个版本, 现在最新的是 0.7.2, 但是在 rubygems.org 上并没有此 gem, 是否考虑将当前 gem 发布到 rubygems.org 上呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.