Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose lastConsumedTimestamp and lastAckedTimestamp to consumer stats #6051

Merged
merged 3 commits into from
Feb 4, 2020

Conversation

zymap
Copy link
Member

@zymap zymap commented Jan 14, 2020


Master Issue: #6046

Motivation

Make people can use the timestamp to tell if acknowledge and consumption
are happening.

Modifications

  • Add lastConsumedTimestamp and lastAckedTimestamp to consume stats

Verify this change

  • Pass the test testConsumerStatsLastTimestamp

---

Master Issue: apache#6046

*Motivation*

Make people can use the timestamp to tell if acknowledge and consumption
are happening.

*Modifications*

- Add lastConsumedTimestamp and lastAckedTimestamp to consume stats

*Verify this change*

- Pass the test `testConsumerStatsLastTimestamp`
@zymap
Copy link
Member Author

zymap commented Jan 14, 2020

@sijie PTAL.

And please help me to rerun the test. Thanks.

Copy link
Member

@sijie sijie left a comment

Choose a reason for hiding this comment

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

overall looks good to me. although I think we should expose these two metrics to subscription stats as well.

@zymap
Copy link
Member Author

zymap commented Jan 15, 2020

@sijie I exposed the metrics to the subscription stats. Please take a look when you have time.

@codelipenghui
Copy link
Contributor

retest this please

1 similar comment
@sijie
Copy link
Member

sijie commented Jan 17, 2020

retest this please

@sijie sijie added the doc-required Your PR changes impact docs and you will update later. label Jan 18, 2020
Copy link
Member

@sijie sijie left a comment

Choose a reason for hiding this comment

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

@zymap overall looks good to me. Please take a look at my comments regarding the test. Also we need to add documentation for these metrics.

@zymap
Copy link
Member Author

zymap commented Jan 21, 2020

@sijie Thanks for your remind. I fix the tests and add the stats to the doc. Please take a look when you are free.

@sijie sijie added this to the 2.6.0 milestone Jan 22, 2020
@sijie
Copy link
Member

sijie commented Jan 22, 2020

retest this please

@sijie sijie modified the milestones: 2.6.0, 2.5.1 Jan 22, 2020
@sijie
Copy link
Member

sijie commented Jan 22, 2020

run java8 tests

@sijie sijie modified the milestones: 2.5.1, 2.6.0 Jan 22, 2020
@sijie
Copy link
Member

sijie commented Jan 22, 2020

run java8 tests
run cpp tests

@tuteng tuteng merged commit 5728977 into apache:master Feb 4, 2020
tuteng pushed a commit to AmateurEvents/pulsar that referenced this pull request Feb 23, 2020
…apache#6051)

---

Master Issue: apache#6046

*Motivation*

Make people can use the timestamp to tell if acknowledge and consumption
are happening.

*Modifications*

- Add lastConsumedTimestamp and lastAckedTimestamp to consume stats

*Verify this change*

- Pass the test `testConsumerStatsLastTimestamp`
tuteng pushed a commit to AmateurEvents/pulsar that referenced this pull request Mar 21, 2020
…apache#6051)

---

Master Issue: apache#6046

*Motivation*

Make people can use the timestamp to tell if acknowledge and consumption
are happening.

*Modifications*

- Add lastConsumedTimestamp and lastAckedTimestamp to consume stats

*Verify this change*

- Pass the test `testConsumerStatsLastTimestamp`

(cherry picked from commit 5728977)
tuteng pushed a commit that referenced this pull request Apr 13, 2020
…#6051)

---

Master Issue: #6046

*Motivation*

Make people can use the timestamp to tell if acknowledge and consumption
are happening.

*Modifications*

- Add lastConsumedTimestamp and lastAckedTimestamp to consume stats

*Verify this change*

- Pass the test `testConsumerStatsLastTimestamp`

(cherry picked from commit 5728977)
jiazhai pushed a commit to jiazhai/pulsar that referenced this pull request May 18, 2020
…apache#6051)

---

Master Issue: apache#6046

*Motivation*

Make people can use the timestamp to tell if acknowledge and consumption
are happening.

*Modifications*

- Add lastConsumedTimestamp and lastAckedTimestamp to consume stats

*Verify this change*

- Pass the test `testConsumerStatsLastTimestamp`

(cherry picked from commit 5728977)
@Anonymitaet Anonymitaet removed the doc-required Your PR changes impact docs and you will update later. label Jun 10, 2020
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
…apache#6051)

---

Master Issue: apache#6046

*Motivation*

Make people can use the timestamp to tell if acknowledge and consumption
are happening.

*Modifications*

- Add lastConsumedTimestamp and lastAckedTimestamp to consume stats

*Verify this change*

- Pass the test `testConsumerStatsLastTimestamp`
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.

5 participants