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

Batching with preserved offset ordering #695

Merged
merged 30 commits into from
Nov 7, 2024

Conversation

dfakhritdinov
Copy link
Contributor

Based on #687, so kudos going to @mr-git

Main difference, compared with original PR, is in Kafka offset ordering that is preserved in resulted batches.

@coveralls
Copy link

coveralls commented Nov 4, 2024

Pull Request Test Coverage Report for Build 11704780715

Details

  • 46 of 46 (100.0%) changed or added relevant lines in 1 file are covered.
  • 12 unchanged lines in 7 files lost coverage.
  • Overall coverage decreased (-0.08%) to 83.093%

Files with Coverage Reduction New Missed Lines %
core/src/main/scala/com/evolutiongaming/kafka/journal/PayloadType.scala 1 88.24%
core/src/main/scala/com/evolutiongaming/kafka/journal/LogFromAkka.scala 1 28.57%
core/src/main/scala/com/evolutiongaming/kafka/journal/util/TemporalHelper.scala 1 61.11%
replicator/src/main/scala/com/evolutiongaming/kafka/journal/replicator/ReplicateRecords.scala 1 80.0%
journal/src/main/scala/com/evolutiongaming/kafka/journal/Journals.scala 1 91.82%
replicator/src/main/scala/com/evolutiongaming/kafka/journal/replicator/DistributeJob.scala 2 79.35%
journal/src/main/scala/com/evolutiongaming/kafka/journal/HeadCache.scala 5 82.93%
Totals Coverage Status
Change from base Build 11689488796: -0.08%
Covered Lines: 3170
Relevant Lines: 3815

💛 - Coveralls

@dfakhritdinov dfakhritdinov requested a review from mr-git November 5, 2024 15:35
mr-git and others added 27 commits November 6, 2024 15:19
…ction per kind, not `offset` of all records, including `Mark`'s)
@mr-git mr-git force-pushed the df/batch-preserve-offsets branch from 2726d4f to cb184a9 Compare November 6, 2024 13:42
Copy link
Contributor

@mr-git mr-git left a comment

Choose a reason for hiding this comment

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

I do not see, how origin and version from "second" delete action could affect us negatively

@dfakhritdinov dfakhritdinov merged commit 75ac715 into master Nov 7, 2024
2 of 3 checks passed
@dfakhritdinov dfakhritdinov deleted the df/batch-preserve-offsets branch November 7, 2024 12:23
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