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

SAMZA-2503 : Adding retry when getting ssp metadata from kafka #1339

Merged
merged 4 commits into from Apr 8, 2020

Conversation

MabelYC
Copy link
Contributor

@MabelYC MabelYC commented Apr 3, 2020

Currently, we only fetch ssp metadata from kafka only once, ideally we should add retry:

  • to be consistent with function getSystemStreamMetadata()
  • avoid any unexpected failure due to transient errors.

Issue:
Currently Samza will only fetch ssp metadata from kafka once. So some transient errors may cause the job dies.
Fix:
Adding retry to getSSPMetadata function to avoid issue happens.
Test:
Unit test.

Copy link
Contributor

@mynameborat mynameborat left a comment

Choose a reason for hiding this comment

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

Can you update the description and fill out the sections in the PR description?

@mynameborat mynameborat merged commit 76963c9 into apache:master Apr 8, 2020
@MabelYC MabelYC deleted the addRetry2getSSPMetadata branch September 16, 2020 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants