GithubHelp home page GithubHelp logo

streamnative / examples Goto Github PK

View Code? Open in Web Editor NEW
51.0 51.0 32.0 411 KB

Apache Pulsar examples and demos

License: Apache License 2.0

Java 64.81% C++ 3.63% Go 16.15% JavaScript 3.06% Python 5.58% Makefile 0.02% C# 3.05% Rust 3.70%
apache-pulsar schema

examples's People

Contributors

bewaremypower avatar congbobo184 avatar demogorgon314 avatar ericsyh avatar eronwright avatar fxbing avatar huanli-meng avatar jiazhai avatar marvincai avatar mattisonchao avatar nodece avatar rockybean avatar sijie avatar tspannhw avatar tuteng avatar wolfstudy avatar yuweisung avatar zymap avatar

Stargazers

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

Watchers

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

examples's Issues

Add example for routing delay messages to different partitions.

The delay messages can have different delay time levels such as 1s 1min 10min 1h, for the best practice, if we have many delayed messages with different delay time levels, it's better to place messages with a similar delay time to a partition.
So, it's better to provide a producer demo for how to route delayed messages to partitions based on the delayed time.

[BUG] CPP client cannot parse issue_url correctly

The issue_url in the current cpp example needs to be suffixed with oauth/token, otherwise it cannot be recognized correctly and the following error will be returned:

OAuth2 auth data: 2020-08-10 15:21:06.117 ERROR [0x10ff855c0] AuthOauth2:243 | Response failed for issuerurl https://auth.test.cloud.gcp.streamnative.dev/oauth2/token. response Code 404 passedin: {
    "grant_type": "client_credentials",
    "client_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "client_secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "audience": "urn:sn:pulsar:pi-ns:pi-name"
}

libc++abi.dylib: terminating with uncaught exception of type char const*

e.g:

"issuer_url": "https://cloud.streamnative.dev/oauth/token",

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.