Skip to content

Topic stats Add more field, base pulsar 2.10.0#809

Open
liangyuanpeng wants to merge 1 commit intostreamnative:masterfrom
yunhorn:Topic_stats_field
Open

Topic stats Add more field, base pulsar 2.10.0#809
liangyuanpeng wants to merge 1 commit intostreamnative:masterfrom
yunhorn:Topic_stats_field

Conversation

@liangyuanpeng
Copy link
Copy Markdown
Contributor

@liangyuanpeng liangyuanpeng commented Aug 10, 2022

Motivation

Add more field for topic stats command, base pulsar 2.10.0

Modifications

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

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@github-actions
Copy link
Copy Markdown

@liangyuanpeng:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions github-actions Bot added the doc-info-missing This pr needs to mark a document option in description label Aug 10, 2022
@github-actions
Copy link
Copy Markdown

@liangyuanpeng:Thanks for providing doc info!

@github-actions github-actions Bot added no-need-doc This pr does not need any document and removed doc-info-missing This pr needs to mark a document option in description labels Aug 10, 2022
Comment thread pkg/pulsar/utils/data.go
AllowOutOfOrderDelivery bool `json:"allowOutOfOrderDelivery"`
NonContiguousDeletedMessagesRanges int64 `json:"nonContiguousDeletedMessagesRanges"`
NonContiguousDeletedMessagesRangesSS int64 `json:"nonContiguousDeletedMessagesRangesSerializedSize"`
Durable bool `json:"durable"`
Copy link
Copy Markdown
Contributor

@nodece nodece Nov 17, 2022

Choose a reason for hiding this comment

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

Suggested change
Durable bool `json:"durable"`

Duplicated.

Comment thread pkg/pulsar/utils/data.go
NonContiguousDeletedMessagesRanges int64 `json:"nonContiguousDeletedMessagesRanges"`
NonContiguousDeletedMessagesRangesSS int64 `json:"nonContiguousDeletedMessagesRangesSerializedSize"`
Durable bool `json:"durable"`
Replicated bool `json:"replicated"`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Replicated bool `json:"replicated"`
IsReplicated bool `json:"isReplicated"`

Copy link
Copy Markdown
Contributor

@nodece nodece left a comment

Choose a reason for hiding this comment

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

Request changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-need-doc This pr does not need any document

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants