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

Evaluations being recorded to Kafka multiple times #463

Closed
fenriskiba opened this issue Aug 3, 2021 · 2 comments
Closed

Evaluations being recorded to Kafka multiple times #463

fenriskiba opened this issue Aug 3, 2021 · 2 comments

Comments

@fenriskiba
Copy link
Contributor

Evaluations sent through the Kafka Recorder are getting duplicated intermittently.

Expected Behavior

Each evaluation should have a single message sent to Kafka.

Current Behavior

Approximately 0.65% (sampled from roughly 6 million Kafka messages) of evaluations are recorded to Kafka 2 or more times.

Steps to Reproduce (for bugs)

  1. Use Vegeta to produce about 2000 evaluations per second with randomly generated entity IDs for about 15 minutes
  2. Use the Sarama example apps (with some minor formatting adjustments) to consume the generated messages in Kafka and pipe the results into a CSV
  3. Identified multiple identical payload messages in the CSV

Context

Creates some confusion/misleading conclusions if someone doesn't know to dedup data when doing analysis on an AB Test.

Your Environment

  • Flagr v1.1.12
  • Kafka v2.3.1
@zhouzhuojie
Copy link
Collaborator

#21 (comment)

@github-actions
Copy link

Stale issue message

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