GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [feat] PIP 107: Introduce chunk message ID by RobertIndie · Pull Request #148 · apache/pulsar-client-cpp

Conversation

@RobertIndie

@RobertIndie RobertIndie commented Dec 16, 2022

Copy link
Copy Markdown
Member

Fixes #79

Motivation

This is the C++ implementation for apache/pulsar#12402

Modifications

  • Add ChunkMessageIdImpl
  • Return ChunkMessageId when the Producer produces the chunk message or when the consumer consumes the chunk message.
  • In cosumer.seek, use the first chunk message-id of the chunk message-id. This will solve the problem caused by seeking chunk messages. This is also the impact of this PIP on the original business logic.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
RobertIndie added 5 commits December 9, 2022 17:48
@RobertIndie
Implement chunk message id.
b8aa4aa
@RobertIndie
Producer send return chunk msg id.
d71232c
@RobertIndie
Consumer receive return chunk msg id.
cf4ebd6
@RobertIndie
Support serialization for ChunkMessageId.
2a20892
@RobertIndie
Shared chunk message id across OpSendMsg
dbdb748
@RobertIndie RobertIndie added this to the 3.2.0 milestone Dec 16, 2022
@RobertIndie RobertIndie self-assigned this Dec 16, 2022
@RobertIndie
Support seek for chunk messages
67205f7
@RobertIndie
RobertIndie force-pushed the chunk-id branch from f3c1869 to 67205f7 Compare December 17, 2022 03:21
BewareMyPower
BewareMyPower reviewed Dec 19, 2022
View reviewed changes
Comment thread include/pulsar/Message.h Resolved

Uh oh!

There was an error while loading. Please reload this page.

BewareMyPower
BewareMyPower reviewed Dec 19, 2022
View reviewed changes
Comment thread lib/ChunkMessageIdImpl.h Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread lib/ChunkMessageIdImpl.h Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread lib/ChunkMessageIdImpl.h Resolved

Uh oh!

There was an error while loading. Please reload this page.

@RobertIndie
Address comments
244b417
BewareMyPower
BewareMyPower approved these changes Dec 20, 2022
View reviewed changes
@BewareMyPower
BewareMyPower merged commit fa3ac76 into apache:main Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@BewareMyPower BewareMyPower BewareMyPower approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@RobertIndie RobertIndie

Labels

None yet

Projects

None yet

Milestone

3.2.0

Development

Successfully merging this pull request may close these issues.

[Feature] Support chunked message id

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@RobertIndie @BewareMyPower
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.