Skip to content

Init first draft version of rocketmq new apis#1

Merged
lizhanhui merged 8 commits intomainfrom
api_draft
Oct 4, 2021
Merged

Init first draft version of rocketmq new apis#1
lizhanhui merged 8 commits intomainfrom
api_draft

Conversation

@zhouxinyu
Copy link
Member

@zhouxinyu zhouxinyu commented Oct 1, 2021

We have drafted the new rocketmq protocol and APIs, let's discuss it here or on the dev mailing list.

@duhenglucky
Copy link

Why don't we put this in the rocketmq repo? It seems like a better option

@zhouxinyu
Copy link
Member Author

Why don't we put this in the rocketmq repo? It seems like a better option

OK, we can consider move it to the main repo or add it as a git submodule.

README.md Outdated

## Reserved Fields

This API spec has reserved the numeric value of PB enum to 64 and the field numeric value of PB message to 64. These reserved values will be used by RocketMQ's official implementation. Beyond the reserved values are free to use by external organizations. No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Messages and enumerations of the API spec reserve the first 64 fields for the evolution of RocketMQ exclusively. Vendor-specific extensions to the protocol are supposed to use fields beyond 64.

reserved 2 to 64;
}

message EndTransactionRequest {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that tranStateTableOffset and commitLogOffset are not included in this protocol.

drpmma and others added 2 commits October 4, 2021 15:06
* Add transaction_state_table_offset and commit_log_offset in EndTransactionRequest and RecoverOrphanedTransactionRequest

* Distinguish producer_group and consumer_group in NotifyClientTerminationRequest
This reverts commit 854b8f7.
@lizhanhui
Copy link
Contributor

I'd merge this pull request and make it a base for further discussion and refinement.

@lizhanhui lizhanhui merged commit c60ed13 into main Oct 4, 2021
@lizhanhui lizhanhui deleted the api_draft branch October 4, 2021 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants