Skip to content

Disk buffering reading refactor #1917

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

Merged

Conversation

LikeTheSalad
Copy link
Contributor

Description:

Should fix #1907

It also simplifies the reading process by removing the need to create a temporary file. Now that disk-buffering has been used for a while, there are some ideas of what's commonly used or needed, so I'm planning to keep on improving its API in further PRs to hopefully reach a stable status soon. In the meantime, these changes should be enough to fix the mentioned issue.

@otelbot-java-contrib
Copy link
Contributor

🔧 The result from spotlessApply was committed to the PR branch.

@LikeTheSalad LikeTheSalad marked this pull request as ready for review May 28, 2025 09:50
@LikeTheSalad LikeTheSalad requested a review from a team as a code owner May 28, 2025 09:50
# Conflicts:
#	disk-buffering/src/test/java/io/opentelemetry/contrib/disk/buffering/FromDiskExporterImplTest.java
#	disk-buffering/src/test/java/io/opentelemetry/contrib/disk/buffering/SpanFromDiskExporterTest.java
#	disk-buffering/src/test/java/io/opentelemetry/contrib/disk/buffering/internal/storage/TestData.java
@LikeTheSalad
Copy link
Contributor Author

@zeitlinger - After your changes were merged, I got 2 minor conflicts with some test files that are now solved. So the changes in this PR should be ready to go now, please have a look.

@trask trask added this pull request to the merge queue Jun 4, 2025
Merged via the queue into open-telemetry:main with commit a3deeb2 Jun 4, 2025
19 checks passed
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.

[disk-buffering] Duplicate export in Windows
4 participants