Coder Social home page Coder Social logo

rocketmq-apis's Introduction

Overview

RocketMQ APIs use Protocol Buffers version 3 (proto3) as their Interface Definition Language (IDL) to define the API interface and the structure of the payload messages. Reading these definitions can understand RocketMQ 5.0 models and API behaviors easily.

Currently, Apache RocketMQ only supports these APIs over gRPC, a high-performance binary RPC protocol over HTTP/2. The implementation consists of two parts:

  • rocketmq: The main repo of Apache RocketMQ contains a proxy module that implements this specification in the server-side.
  • rocketmq-clients: A mono repo consists of polyglot clients that implement this specification in the client-side.

rocketmq-apis's People

Contributors

aaron-ai avatar drpmma avatar lizhanhui avatar lollipopjin avatar xdkxlk avatar zhouxinyu avatar

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rocketmq-apis's Issues

Why Producer not support send messages for batch

Is your feature request related to a problem? Please describe.
4.x client support send batch,but 5.x not support,and the producer implement support batch

Describe the solution you'd like
Add function List send(List messages) throws ClientException;

Make service interface orthogonal and independent

The service interface should be orthogonal and independent of other services.

So I am proposing to add Endpoints filed to QueryRouteRequest and QueryAssignmentRequest, and add auto_renew to ReceiveMessageRequest. In this way, the service interface will not depend on access_point and client_type in Settings.

Check message type based on flag from server's publishing setting.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Add MessageQueue in SendMessageRequest

Although we have introduced pull consumer in #67, we still need to add the MessageQueue parameter to the SendMessageRequest in order for users to send messages to the specified partition

Add attempt_id in ReceiveMessageRequest

Is your feature request related to a problem? Please describe.
In apache/rocketmq#6690, we introduce the concept of reentrant pop consumption, so we should add attempt_id to ReceiveMessageRequest

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Add more code to cover rocketmq behavior

Is your feature request related to a problem? Please describe.
Current code cannot cover all rocketmq behavior such as FLUSH_DISK_TIMEOUT and FLUSH_SLAVE_TIMEOUT. And the similar codes should be grouped according to usage.

Describe the solution you'd like
Add more code and group them by usage.

Describe alternatives you've considered

Additional context
rocketmq ResponseCode
https://github.com/apache/rocketmq/blob/8745d4c538d5c96e65a56f6278029c5765e7d922/common/src/main/java/org/apache/rocketmq/common/protocol/ResponseCode.java#L22

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.