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

datalake/coordinator: iron out RPC types #23707

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

andrwng
Copy link
Contributor

@andrwng andrwng commented Oct 9, 2024

Updates the coordinator RPC add_file to use translated_offset_range to represent groups of files. Each translated offset range will be analagous to the write of a single translation operation, as it corresponds to a single contiguous Kafka offset range.

Also updates the fetch_lastest to just return the latest Kafka offset.

Along the way, moved the ostream definitions out of the header, which contributed to a failure to build.

Also adds an hour field to the data_file type.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v24.2.x
  • v24.1.x
  • v23.3.x

Release Notes

  • none

@andrwng andrwng force-pushed the datalake-rpc-types branch from aa92220 to 5fd7f69 Compare October 9, 2024 18:03
Updates the coordinator RPC add_file to use translated_offset_range to
represent groups of files. Each translated offset range will be
analagous to the write of a single translation operation, as it
corresponds to a single contiguous Kafka offset range.

Also updates the fetch_lastest to just return the latest Kafka offset.
@andrwng andrwng force-pushed the datalake-rpc-types branch from 5fd7f69 to 80a5965 Compare October 9, 2024 18:32
Copy link
Contributor

@bharathv bharathv left a comment

Choose a reason for hiding this comment

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

lgtm.

@andrwng andrwng merged commit 5bc0e62 into redpanda-data:dev Oct 9, 2024
17 checks passed
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.

2 participants