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

Start a CONSUMER span for Kafka poll(); and refactor spring-kafka... #4041

Merged
merged 5 commits into from
Sep 8, 2021

Conversation

mateuszrzeszutek
Copy link
Member

... so that it has 1 batch receive span + 1 batch process span. This basically implements this idea: #3922 (comment) (well, a part of it).

The process CONSUMER span is not a child of the receive CONSUMER span yet (spec says it should be) because successive CONSUMERs are suppressed; but I'm planning to introduce a new suppression strategy for consumer spans in the next PR (separate span keys for receive an process).

This PR is split into 2 commits: the first contains just kafka-clients changes, the second just spring-kafka changes. Maybe that'll help reviewing it.

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

I think it would be nice if we can avoid releasing in the intermediate state where we are creating disjointed consumer spans

@mateuszrzeszutek
Copy link
Member Author

I think it would be nice if we can avoid releasing in the intermediate state where we are creating disjointed consumer spans

Yeah, definitely - I'll start working on the next part soon, we should definitely get it merged before the next release.

@trask trask merged commit e30b082 into open-telemetry:main Sep 8, 2021
@arm-chair
Copy link

Thanks @mateuszrzeszutek, were you able to make any progress on the next part? I think I am maybe seeing the disjointed consumer in an downstream Lightstep alpha release.

@trask
Copy link
Member

trask commented Sep 22, 2021

@arm-chair does lightstep backend support links? if so you should be seeing the consumer linked to the producer.
if not, check out #4187

@mateuszrzeszutek mateuszrzeszutek deleted the kafka-receive-span branch September 23, 2021 07:49
@mateuszrzeszutek
Copy link
Member Author

Span links were added here: #4122 and #4151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants