Skip to content

statsIntervalInSeconds can be 0 to disable log#43

Merged
nkurihar merged 1 commit into
apache:masterfrom
freeart:master
Aug 6, 2019
Merged

statsIntervalInSeconds can be 0 to disable log#43
nkurihar merged 1 commit into
apache:masterfrom
freeart:master

Conversation

@freeart
Copy link
Copy Markdown

@freeart freeart commented Aug 5, 2019

pulsar-client-cpp/include/pulsar/ClientConfiguration.h

/*
 * Initialize stats interval in seconds. Stats are printed and reset after every 'statsIntervalInSeconds'.
 * Set to 0 in order to disable stats collection.
 */
ClientConfiguration& setStatsIntervalInSeconds(const unsigned int&);

By default it is 10 minutes, to disable stats log needs to be 0

Copy link
Copy Markdown
Contributor

@hrsakai hrsakai left a comment

Choose a reason for hiding this comment

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

LGTM

@nkurihar nkurihar merged commit 4c4518e into apache:master Aug 6, 2019
@massakam massakam added this to the 1.0.0 milestone Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants