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 Streams: remove span/scope from task #3019

Merged
merged 2 commits into from
Aug 23, 2021

Conversation

tylerbenson
Copy link
Contributor

@tylerbenson tylerbenson commented Aug 19, 2021

When finishing the span, remove it to allow it to be GC'd and not linger. Don't think it's causing any problems... just more sanitary.

Also fix a flake in the test.

When finishing the span, remove it to allow it to be GC'd and not linger.  Don't think it's causing any problems... just more sanitary.
@tylerbenson tylerbenson added the tag: no release notes Changes to exclude from release notes label Aug 19, 2021
@tylerbenson tylerbenson requested a review from a team as a code owner August 19, 2021 14:24
(Sorting the spans by start time doesn't fix later invocations of `trace()`, so the indexes don't line up correctly with the prior assertions.)
Copy link
Contributor

@bantonsson bantonsson left a comment

Choose a reason for hiding this comment

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

Makes sense to me, since the next call to process will set the next scope in the StreamTask anyway.

@tylerbenson tylerbenson merged commit 9e7634e into master Aug 23, 2021
@tylerbenson tylerbenson deleted the tyler/kafka-streams-refactor branch August 23, 2021 22:13
@github-actions github-actions bot added this to the 0.86.0 milestone Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: no release notes Changes to exclude from release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants