Skip to content

Conversation

@hangc0276
Copy link
Contributor

Fix #8124

Changes

Related to PR-5571, I add epoch on HandleBase for C++ Client.
Due to C++ client not expose handler interface to producer client, i can't add epoch test in the test case. I doubt whether to expose those interfaces to get handler instance and epoch just for test case.

Please take a look and give me some ideas. @sijie @jiazhai @codelipenghui

@jiazhai
Copy link
Member

jiazhai commented Oct 3, 2020

@BewareMyPower Would you please also take a look if you have time?

@BewareMyPower
Copy link
Contributor

@jiazhai I've had a look at this PR just right. LGTM. Just one point, I'm not sure that if should epoch_ be an atomic integer. As for exposing epoch_ only for test case, I think it's not bad. It's not a key point that affects performance.

@sijie sijie merged commit 8572ffb into apache:master Oct 5, 2020
@wolfstudy wolfstudy mentioned this pull request Oct 28, 2020
1 task
wolfstudy pushed a commit that referenced this pull request Oct 30, 2020
…#8191)

Fix #8124 

### Changes
Related to `PR-5571`, I add epoch on `HandleBase` for C++ Client.
Due to C++ client not expose handler interface to producer client, i can't add epoch test in the test case. I doubt whether to expose those interfaces to get handler instance and epoch just for test case.

Please take a look and give me some ideas. @sijie @jiazhai @codelipenghui 

(cherry picked from commit 8572ffb)
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Nov 13, 2020
…apache#8191)

Fix apache#8124 

### Changes
Related to `PR-5571`, I add epoch on `HandleBase` for C++ Client.
Due to C++ client not expose handler interface to producer client, i can't add epoch test in the test case. I doubt whether to expose those interfaces to get handler instance and epoch just for test case.

Please take a look and give me some ideas. @sijie @jiazhai @codelipenghui
merlimat pushed a commit to merlimat/pulsar that referenced this pull request Dec 19, 2020
…apache#8191)

Fix apache#8124 

### Changes
Related to `PR-5571`, I add epoch on `HandleBase` for C++ Client.
Due to C++ client not expose handler interface to producer client, i can't add epoch test in the test case. I doubt whether to expose those interfaces to get handler instance and epoch just for test case.

Please take a look and give me some ideas. @sijie @jiazhai @codelipenghui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed to add producer to topic(C language Client)

4 participants