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

KinesisSourceSpec: KinesisSchedulerSource must not drop messages in case of Shard end #2219

Closed
ennru opened this issue Mar 19, 2020 · 2 comments
Assignees
Milestone

Comments

@ennru
Copy link
Member

ennru commented Mar 19, 2020

KinesisSchedulerSource
- must not drop messages in case of Shard end *** FAILED *** (3 seconds, 750 milliseconds)
  The code passed to eventually never returned normally. Attempted 18 times over 612.41528 milliseconds. Last failure message:
  Wanted but not invoked:
  recordProcessorCheckpointer.checkpoint();
  -> at akka.stream.alpakka.kinesis.KinesisSchedulerSourceSpec$$anonfun$1$$anonfun$apply$mcV$sp$8$$anonfun$apply$8$$anon$5$$anonfun$11.apply$mcV$sp(KinesisSchedulerSourceSpec.scala:209)
  Actually, there were zero interactions with this mock.
  . (KinesisSchedulerSourceSpec.scala:208)
  org.scalatest.exceptions.TestFailedDueToTimeoutException:
  at org.scalatest.enablers.Retrying$$anon$4.tryTryAgain$2(Retrying.scala:174)
  at org.scalatest.enablers.Retrying$$anon$4.retry(Retrying.scala:192)
  at org.scalatest.concurrent.Eventually$class.eventually(Eventually.scala:402)
  at akka.stream.alpakka.kinesis.KinesisSchedulerSourceSpec.eventually(KinesisSchedulerSourceSpec.scala:43)
  at akka.stream.alpakka.kinesis.KinesisSchedulerSourceSpec$$anonfun$1$$anonfun$apply$mcV$sp$8$$anonfun$apply$8$$anon$5.<init>(KinesisSchedulerSourceSpec.scala:208)
  at akka.stream.alpakka.kinesis.KinesisSchedulerSourceSpec$$anonfun$1$$anonfun$apply$mcV$sp$8$$anonfun$apply$8.apply(KinesisSchedulerSourceSpec.scala:176)

https://travis-ci.com/github/akka/alpakka/jobs/299822244#L437 in #2198

@ennru
Copy link
Member Author

ennru commented Mar 24, 2020

@seglo
Copy link
Member

seglo commented Mar 25, 2020

Hopefully resolved by #2229. I can no longer reproduce this issue locally.

@seglo seglo closed this as completed Mar 25, 2020
@ennru ennru added this to the 2.0.0-RC2 milestone Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants