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

KAFKA-16584: Make log processing summary configurable or debug--update upgrade-guide #16709

Merged
merged 5 commits into from
Aug 6, 2024

Conversation

dujian0068
Copy link
Contributor

KAFKA-16584 Make log processing summary configurable or debug
update upgrade-guide

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

Make log processing summary configurable or debug-- update upgrade-guide
@dujian0068 dujian0068 changed the base branch from trunk to 3.9 August 1, 2024 07:34
Copy link
Contributor

@bbejeck bbejeck left a comment

Choose a reason for hiding this comment

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

Thanks @dujian0068 for the docs PR. Just one minor comment.

Also, there are conflicts can you rebase this PR?

<h3><a id="streams_api_changes_390" href="#streams_api_changes_390">Streams API changes in 3.9.0</a></h3>
<p>
Kafka Streams now supports users to customize the output interval of stream-thread runtime summary.
By default, the record is recorded every 2 minutes. More details can be found in
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
By default, the record is recorded every 2 minutes. More details can be found in
By default, it logs output every 2 minutes. More details can be found in

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you comment
I have made an update, and change the target branch to trunk

@mjsax mjsax added streams docs kip Requires or implements a KIP labels Aug 2, 2024
@mjsax
Copy link
Member

mjsax commented Aug 2, 2024

This PR should go against, trunk, right? And we would cherry-pick to 3.9 branch.

@bbejeck
Copy link
Contributor

bbejeck commented Aug 2, 2024

This PR should go against, trunk, right? And we would cherry-pick to 3.9 branch.

Good catch, that's correct.

@dujian0068 dujian0068 changed the base branch from 3.9 to trunk August 5, 2024 01:41
Make log processing summary configurable or debug-- update upgrade-guide
Make log processing summary configurable or debug-- update upgrade-guide
@mjsax
Copy link
Member

mjsax commented Aug 5, 2024

This PR should add the new config also to docs/streams/developer-guide/configs-streams.html, right? Or was this does on the original KIP PR already?

@@ -152,6 +152,12 @@ <h3><a id="streams_api_changes_390" href="#streams_api_changes_390">Streams API
The specified handler must implement the <code>org.apache.kafka.streams.errors.ProcessingExceptionHandler</code> interface.
</p>

<p>
Kafka Streams now supports users to customize the output interval of stream-thread runtime summary.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Kafka Streams now supports users to customize the output interval of stream-thread runtime summary.
Kafka Streams now allows to customize the logging interval of stream-thread runtime summary, via the newly added config <code>name of config which I don't know from top of my head :)</code>.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for your reply,
I have made the changes

@@ -152,6 +152,12 @@ <h3><a id="streams_api_changes_390" href="#streams_api_changes_390">Streams API
The specified handler must implement the <code>org.apache.kafka.streams.errors.ProcessingExceptionHandler</code> interface.
</p>

<p>
Kafka Streams now supports users to customize the output interval of stream-thread runtime summary.
By default, it logs output every 2 minutes. More details can be found in
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
By default, it logs output every 2 minutes. More details can be found in
By default, the summary is logged every 2 minutes. More details can be found in

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for your reply, I have made the changes

Make log processing summary configurable or debug-- update upgrade-guide
@dujian0068
Copy link
Contributor Author

This PR should add the new config also to docs/streams/developer-guide/configs-streams.html, right? Or was this does on the original KIP PR already?
@mjsax
Thanks for your reply. This configuration has been added in docs/streams/developer-guide/configs-streams.html.
PR address: #16509

@mjsax mjsax changed the title KAFKA-16584 Make log processing summary configurable or debug--update upgrade-guide KAFKA-16584: Make log processing summary configurable or debug--update upgrade-guide Aug 6, 2024
@mjsax mjsax merged commit 5596f9e into apache:trunk Aug 6, 2024
1 check was pending
mjsax pushed a commit that referenced this pull request Aug 6, 2024
…e upgrade-guide (#16709)

Updates Kafka Streams upgrade-guide for KIP-1049.

Reviewers: Bill Bejeck <bill@confluent.io>, Matthias J. Sax <matthias@confluent.io>
@mjsax
Copy link
Member

mjsax commented Aug 6, 2024

Thank you! Merged to trunk and cherry-picked to 3.9 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs kip Requires or implements a KIP streams
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants