Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

[GEARPUMP-359] Fix OutputWatermark advancing logic in Subscription #234

Closed
wants to merge 2 commits into from

Conversation

huafengw
Copy link
Contributor

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

  • Make sure the commit message is formatted like:
    [GEARPUMP-<Jira issue #>] Meaningful description of pull request
  • Make sure tests pass via sbt clean test.
  • Make sure old documentation affected by the pull request has been updated and new documentation added for new functionality.

@codecov-io
Copy link

Codecov Report

Merging #234 into master will decrease coverage by 0.04%.
The diff coverage is 86.66%.

@@            Coverage Diff             @@
##           master     #234      +/-   ##
==========================================
- Coverage   69.16%   69.12%   -0.05%     
==========================================
  Files         191      191              
  Lines        6123     6124       +1     
  Branches      357      362       +5     
==========================================
- Hits         4235     4233       -2     
- Misses       1888     1891       +3

@@ -209,7 +202,8 @@ class Subscription(
// to throttle the number of unacked AckRequest
incrementMessageCount(partition, ackOnceEveryMessageCount)
val targetTask = TaskId(processorId, partition)
val ackRequest = AckRequest(taskId, messageCount(partition), sessionId)
val processingWaterMark = publisher.getProcessingWatermark.toEpochMilli
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: processingWaterMark => processingWatermark

@asfgit asfgit closed this in cb6aced Oct 26, 2017
@manuzhang
Copy link
Contributor

LGTM. Merged with fixing the nitpick

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants