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

[chore][pkg/stanza] Extract checkpointing logic into internal package #27775

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

djaglowski
Copy link
Member

@djaglowski djaglowski commented Oct 16, 2023

This PR moves checkpointing logic into a dedicated package. Since we only actually save and load reader.Metadata, the fileconsumer package is still responsible for pulling Metadata out of each Reader prior to saving, and wrapping Metadata into a Reader when loading.

@djaglowski
Copy link
Member Author

I peeled off a subset of changes into #27775

codeboten pushed a commit that referenced this pull request Oct 17, 2023
Subset of #27775

Many tests were unnecessarily using a scoped persister. This just
changes to using unscoped where possible.
@djaglowski djaglowski merged commit 02c7646 into open-telemetry:main Oct 18, 2023
85 checks passed
@djaglowski djaglowski deleted the pkg-stanza-persister branch October 18, 2023 01:16
@github-actions github-actions bot added this to the next release milestone Oct 18, 2023
JaredTan95 pushed a commit to openinsight-proj/opentelemetry-collector-contrib that referenced this pull request Oct 18, 2023
…telemetry#27809)

Subset of open-telemetry#27775

Many tests were unnecessarily using a scoped persister. This just
changes to using unscoped where possible.
JaredTan95 pushed a commit to openinsight-proj/opentelemetry-collector-contrib that referenced this pull request Oct 18, 2023
…open-telemetry#27775)

This PR moves checkpointing logic into a dedicated package. Since we
only actually save and load `reader.Metadata`, the `fileconsumer`
package is still responsible for pulling `Metadata` out of each `Reader`
prior to saving, and wrapping `Metadata` into a `Reader` when loading.
sigilioso pushed a commit to carlossscastro/opentelemetry-collector-contrib that referenced this pull request Oct 27, 2023
…telemetry#27809)

Subset of open-telemetry#27775

Many tests were unnecessarily using a scoped persister. This just
changes to using unscoped where possible.
sigilioso pushed a commit to carlossscastro/opentelemetry-collector-contrib that referenced this pull request Oct 27, 2023
…open-telemetry#27775)

This PR moves checkpointing logic into a dedicated package. Since we
only actually save and load `reader.Metadata`, the `fileconsumer`
package is still responsible for pulling `Metadata` out of each `Reader`
prior to saving, and wrapping `Metadata` into a `Reader` when loading.
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
…telemetry#27809)

Subset of open-telemetry#27775

Many tests were unnecessarily using a scoped persister. This just
changes to using unscoped where possible.
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
…open-telemetry#27775)

This PR moves checkpointing logic into a dedicated package. Since we
only actually save and load `reader.Metadata`, the `fileconsumer`
package is still responsible for pulling `Metadata` out of each `Reader`
prior to saving, and wrapping `Metadata` into a `Reader` when loading.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants